mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-17 13:15:24 +00:00
update settings
This commit is contained in:
parent
04377173fa
commit
c17d71b20a
@ -128,7 +128,7 @@ const props = defineProps({
|
||||
const selectorStore = useSelectorStore();
|
||||
const dashboardStore = useDashboardStore();
|
||||
const chartLoading = ref<boolean>(false);
|
||||
const pageSize = 15;
|
||||
const pageSize = 10;
|
||||
const services = ref<Service[]>([]);
|
||||
const searchText = ref<string>("");
|
||||
const groups = ref<any>({});
|
||||
@ -241,12 +241,8 @@ function objectSpanMethod(param: any): any {
|
||||
}
|
||||
function changePage(pageIndex: number) {
|
||||
services.value = sortServices.value.filter((d: Service, index: number) => {
|
||||
if (
|
||||
index >= (pageIndex - 1 || 0) * pageSize &&
|
||||
index < pageSize * (pageIndex || 1)
|
||||
) {
|
||||
return d;
|
||||
}
|
||||
index >= (pageIndex - 1 || 0) * pageSize &&
|
||||
index < pageSize * (pageIndex || 1);
|
||||
});
|
||||
}
|
||||
function searchList() {
|
||||
|
@ -192,6 +192,7 @@ limitations under the License. -->
|
||||
<el-input
|
||||
v-model="metric.value"
|
||||
placeholder="Please input a value"
|
||||
type="number"
|
||||
@change="changeLegend(LegendOpt.VALUE, $event, index)"
|
||||
size="small"
|
||||
class="item"
|
||||
|
Loading…
Reference in New Issue
Block a user