Browse Source

优化:减少不必要请求

shaun-sheep 4 years ago
parent
commit
a7a3397a5d
1 changed files with 6 additions and 6 deletions
  1. 6 6
      src/components/ledger/handsontables/device.vue

+ 6 - 6
src/components/ledger/handsontables/device.vue

@@ -88,7 +88,7 @@
             :device='mess'
             :curDevice='curDevice'
             :dialog='myDialog'
-            :type='onlyRead?'read':'edit''
+            :type="onlyRead?'read':'edit'"
             @change='changeSystemType'
             :list='systemList'
         ></system-type>
@@ -403,12 +403,12 @@ export default {
         },
         //关闭弹窗
         closeBIM() {
-            let vm = this
+            // let vm = this
             this.myDialog.bimcode = false
-            setTimeout(() => {
-                vm.getTableData()
-                vm.getAllData()
-            }, 10)
+            // setTimeout(() => {
+            //     vm.getTableData()
+            //     vm.getAllData()
+            // }, 10)
         },
         //获取主体数据
         getTableData() {