From afacdf457f6ad75f9810e7cb900ff0f52d79c71b Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 31 七月 2023 11:30:07 +0800 Subject: [PATCH] 主题库切换分类默认数据 --- Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue index 8f655e7..2adc176 100644 --- a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue +++ b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue @@ -371,6 +371,24 @@ deep:true, immediate:true }, + Formlist:{ + handler(newval,oldval){ + if(newval.length === 0){ + this.crudArrayFlag=false + return + } + } + }, + ProData:{ + handler(newval,oldval){ + if(newval){ + this.loading=true; + setTimeout(() => { + this.loading=false + }, 1000); + } + } + }, 'injectOption.classifyInvokeAttr': function(newVal) { console.log('newVal',newVal) if (newVal === "name") { @@ -1782,8 +1800,10 @@ // noinspection JSCheckFunctionSignatures if(this.CurrentCell){ //濡傛灉鏄寚瀹氬眰璧嬪�间负鏁板瓧 - if(this.CurrentCell.classifyInvokeLevel!== 'min'){ + if(this.injectOption.classifyInvokeLevel!== 'min'){ this.CurrentCell.classifyInvokeLevel=this.injectOption.classifyNumber + }else { + this.CurrentCell.classifyInvokeLevel='min' } //鍏朵綑姝e父璧嬪�� this.CurrentCell.classifyInvokeAttr=this.injectOption.classifyInvokeAttr, @@ -1799,6 +1819,8 @@ //濡傛灉鏄寚瀹氬眰璧嬪�间负鏁板瓧 if(this.injectOption.classifyInvokeLevel !== 'min'){ this.attrSelectList[0].classifyInvokeLevel=this.injectOption.classifyNumber + }else { + this.attrSelectList[0].classifyInvokeLevel='min' } this.$set(this.attrSelectList[0],'classifyInvokeText',data) } -- Gitblit v1.9.3