From 5f48ebae7c1cf69b32c893df77444673415d7d0a Mon Sep 17 00:00:00 2001 From: jia <13192901198@163.com> Date: Tue, 15 Feb 2022 16:56:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E7=AD=BE=E7=BB=84=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/article/category.vue | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/article/category.vue b/src/views/article/category.vue index 4b166f9..a478d05 100644 --- a/src/views/article/category.vue +++ b/src/views/article/category.vue @@ -104,8 +104,8 @@ - 标签名称{{index+1}} - + 标签组名称{{index+1}} + 删除 @@ -394,7 +394,7 @@ export default { this.tagData[this.handleIndex]['value'].push(this.tagName) this.dialogFormVisible = false }, - //添加标签名称 + //添加标签组 addTag(){ if(!this.validTagData()){ return @@ -405,9 +405,9 @@ export default { } this.tagData.push(obj); }, - //移除标签名称 + //移除标签组 removeTag(idx){ - this.$confirm('是否确认删除该标签名称', '警告', { + this.$confirm('是否确认删除该标签组', '警告', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' @@ -421,7 +421,7 @@ export default { validTagData(flag=true){ return this.tagData.every(item=>{ if(!item.label){ - flag && this.$message.warning('标签名称不能为空') + flag && this.$message.warning('标签组名称不能为空') return false } if (!item.value.length) {