|
@@ -193,7 +193,6 @@ EventBus.on("should-reload-history", () => {
|
|
});
|
|
});
|
|
if (res?.data) {
|
|
if (res?.data) {
|
|
const data = res.data.records;
|
|
const data = res.data.records;
|
|
- total = res.data.total;
|
|
|
|
if (store.currentTask) {
|
|
if (store.currentTask) {
|
|
// 这种方式(对象被重新构造了)能查找到index,我也很惊讶
|
|
// 这种方式(对象被重新构造了)能查找到index,我也很惊讶
|
|
const indexOfTasks = store.historyTasks.indexOf(store.currentTask);
|
|
const indexOfTasks = store.historyTasks.indexOf(store.currentTask);
|