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