Ver Fonte

添加设置表格方法

ymy há 1 ano atrás
pai
commit
3856bcb99c
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      src/benyun/components/moduleView/moduleView.vue

+ 6 - 0
src/benyun/components/moduleView/moduleView.vue

@@ -87,6 +87,12 @@ export default class ModuleView extends ModuleViewHandle {
       }
       }
     })
     })
   }
   }
+  //设置表格配置
+  setTableCOnfig(config:any){
+    if(this.$refs[this.tableID]){
+      (this.$refs[this.tableID] as any).setConfig(config)
+    }
+  }
   initTable(){
   initTable(){
     if(!this.$refs[this.tableID]){
     if(!this.$refs[this.tableID]){
       this.calculateCount ++;
       this.calculateCount ++;