diff --git a/mindinsight/ui/src/components/header.vue b/mindinsight/ui/src/components/header.vue index 7e6c67f76cb733f08c37a43a61acabef45fa7d66..1991f8fe2c3ff38f88249dac5677bceabd05cc3b 100644 --- a/mindinsight/ui/src/components/header.vue +++ b/mindinsight/ui/src/components/header.vue @@ -194,6 +194,9 @@ export default { this.newReloadValue = this.timeReloadValue; }, timeValueChange() { + if (this.newReloadValue === '') { + return; + } this.newReloadValue = this.newReloadValue .toString() .replace(/[^\.\d]/g, '') @@ -229,9 +232,12 @@ export default { }, cancelHardwareTimeValue() { this.isShowHardwareInp = false; - this.newHardwareReloadValue = this.timeReloadValue; + this.newHardwareReloadValue = this.hardwareTimeReloadValue; }, hardwareTimeValueChange() { + if (this.newHardwareReloadValue === '') { + return; + } this.newHardwareReloadValue = this.newHardwareReloadValue .toString() .replace(/[^\.\d]/g, '') diff --git a/mindinsight/ui/src/store.js b/mindinsight/ui/src/store.js index 340bd8c430f66a95356c627134f4abb6a602ae37..f7053350a34ea0d427bfd98cb8e86d01562f2c12 100644 --- a/mindinsight/ui/src/store.js +++ b/mindinsight/ui/src/store.js @@ -35,7 +35,7 @@ export default new Vuex.Store({ // hardware reload time hardwareTimeReloadValue: localStorage.hardwareTimeReloadValue ? localStorage.hardwareTimeReloadValue - : 3, + : 5, // multiSelevtGroup component count multiSelectedGroupCount: 0, tableId: 0,