diff --git a/flossom-ui/src/views/system/wechatTag/index.vue b/flossom-ui/src/views/system/wechatTag/index.vue index 35d570d..5d5a84b 100644 --- a/flossom-ui/src/views/system/wechatTag/index.vue +++ b/flossom-ui/src/views/system/wechatTag/index.vue @@ -289,6 +289,10 @@ export default { if (valid) { this.form.type = 1; if (this.form.id != undefined) { + if(this.form.parentId == null) { + this.$modal.msgError("请选择上级标签"); + return; + } updateDept(this.form).then(response => { this.$modal.msgSuccess("修改成功"); this.open = false;