ZaiZai 1 năm trước cách đây
mục cha
commit
191acf6fb1
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      src/plugins/HTableForm.js

+ 3 - 3
src/plugins/HTableForm.js

@@ -282,7 +282,7 @@ export default class HTableForm {
         }
     }
 
-    //获取表单元素 
+    //获取表单元素
     static async getQuerySelector(key, pid = '') {
         let dom
         if (pid) {
@@ -320,9 +320,9 @@ export default class HTableForm {
     //设置选中样式
     static setCheckKeyStyle(key, pid = '', remove = false) {
         if (remove) {
-            this.setFormStyle(key, 'hc-green-border', pid)
+            this.setFormStyle(key, 'hc-green-border', pid).then()
         } else {
-            this.setFormStyle(key, 'hc-green-border', pid, true)
+            this.setFormStyle(key, 'hc-green-border', pid, true).then()
         }
     }