@ -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;