From b719b41a3b74b83b0e6ad4386620a41f49d13201 Mon Sep 17 00:00:00 2001 From: 晏有为 <13214124+yan-youwei@user.noreply.gitee.com> Date: 星期四, 23 五月 2024 17:25:54 +0800 Subject: [PATCH] 导入 --- src/components/view/b2-standard.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/view/b2-standard.vue b/src/components/view/b2-standard.vue index a6e46cc..bcfa0ab 100644 --- a/src/components/view/b2-standard.vue +++ b/src/components/view/b2-standard.vue @@ -165,7 +165,7 @@ :class="`node_i ${data.children != undefined ? (data.code==='[1]'?'el-icon-folder-opened':'el-icon-folder') : 'el-icon-tickets'}`"></i> {{ data.code }} {{ data.label }}</span> </el-col> - <el-col :span="2" style="text-align: right;" v-if="delStandardTree"> + <el-col :span="2" style="text-align: right;" v-if="delStandardTree&&node.level==5"> <el-button type="text" size="mini" @click.stop="remove(node, data)"> <i class="el-icon-delete"></i> </el-button> @@ -1293,7 +1293,7 @@ }) }, async handleMore(){ - if(!this.standardId&&this.standardId!=0){ + if((!this.standardId&&this.standardId!=0)||this.standardList.length==0){ return this.$message.error('璇烽�夋嫨瀹為獙瀹ゃ�佹牱鍝�') } await this.getList() -- Gitblit v1.9.3