perf: 修复account、dc、promserver的resize时的bug
This commit is contained in:
@@ -484,4 +484,8 @@ export const chartResizeTool = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
export function blankPromise() {
|
||||||
|
return new Promise(resolve => {resolve();});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -399,6 +399,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
showSubList(n) {
|
showSubList(n) {
|
||||||
|
let vm = this;
|
||||||
this.$bottomBoxWindow.showSubListWatch(vm, n);
|
this.$bottomBoxWindow.showSubListWatch(vm, n);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -492,6 +492,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
showSubList(n) {
|
showSubList(n) {
|
||||||
|
let vm = this;
|
||||||
this.$bottomBoxWindow.showSubListWatch(vm, n);
|
this.$bottomBoxWindow.showSubListWatch(vm, n);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -497,6 +497,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
showSubList(n) {
|
showSubList(n) {
|
||||||
|
let vm = this;
|
||||||
this.$bottomBoxWindow.showSubListWatch(vm, n);
|
this.$bottomBoxWindow.showSubListWatch(vm, n);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,8 @@ import plTable from 'pl-table'
|
|||||||
import 'pl-table/themes/index.css'
|
import 'pl-table/themes/index.css'
|
||||||
|
|
||||||
import {post, get, put, del} from './http.js'
|
import {post, get, put, del} from './http.js'
|
||||||
import {toTop, clickoutside, scrollBar, bottomBoxWindow, stringTimeParseToUnix, unixTimeParseToString, chartResizeTool} from './components/common/js/tools.js'
|
import {toTop, clickoutside, scrollBar, bottomBoxWindow, stringTimeParseToUnix, unixTimeParseToString, chartResizeTool} from './components/common/js/tools.js';
|
||||||
|
import * as tools from './components/common/js/tools.js';
|
||||||
import * as constants from './components/common/js/constants.js'
|
import * as constants from './components/common/js/constants.js'
|
||||||
|
|
||||||
|
|
||||||
@@ -75,6 +76,7 @@ Vue.prototype.$get = get;
|
|||||||
Vue.prototype.$put = put;
|
Vue.prototype.$put = put;
|
||||||
Vue.prototype.$delete = del;
|
Vue.prototype.$delete = del;
|
||||||
Vue.prototype.$CONSTANTS = constants;
|
Vue.prototype.$CONSTANTS = constants;
|
||||||
|
Vue.prototype.$TOOLS = tools;
|
||||||
Vue.prototype.$toTop = toTop; //toTop置顶按钮方法
|
Vue.prototype.$toTop = toTop; //toTop置顶按钮方法
|
||||||
Vue.prototype.$bottomBoxWindow = bottomBoxWindow; //底部上滑框控制
|
Vue.prototype.$bottomBoxWindow = bottomBoxWindow; //底部上滑框控制
|
||||||
Vue.prototype.$stringTimeParseToUnix = stringTimeParseToUnix;
|
Vue.prototype.$stringTimeParseToUnix = stringTimeParseToUnix;
|
||||||
|
|||||||
Reference in New Issue
Block a user