提交 fbc5b243 编写于 作者: W WeiFeng-mindinsight

fix oplist search issue when user turn pages

上级 70f854b2
...@@ -268,7 +268,7 @@ export default { ...@@ -268,7 +268,7 @@ export default {
pageTotal: 0, pageTotal: 0,
opDetailPage: { opDetailPage: {
offset: 0, offset: 0,
limit: 20, limit: 8,
}, },
op_filter_condition: {}, op_filter_condition: {},
op_sort_condition: { op_sort_condition: {
...@@ -626,6 +626,7 @@ export default { ...@@ -626,6 +626,7 @@ export default {
} else { } else {
this.opAllTypeList.op_filter_condition = {}; this.opAllTypeList.op_filter_condition = {};
} }
this.opAllTypeList.opDetailPage.offset = 0;
this.getCoreDetailList(this.opAllTypeList, false); this.getCoreDetailList(this.opAllTypeList, false);
} else { } else {
this.op_filter_condition = {}; this.op_filter_condition = {};
...@@ -658,6 +659,7 @@ export default { ...@@ -658,6 +659,7 @@ export default {
} else { } else {
this.opCpuList.op_filter_condition = {}; this.opCpuList.op_filter_condition = {};
} }
this.opCpuList.opDetailPage.offset = 0;
this.getCpuList(false); this.getCpuList(false);
}, },
/** /**
......
...@@ -584,7 +584,7 @@ export default { ...@@ -584,7 +584,7 @@ export default {
.map((i) => { .map((i) => {
return { return {
name: i.name, name: i.name,
time: i.value, time: i.value.toFixed(4),
frequency: i.frequency, frequency: i.frequency,
}; };
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册