zcy 4 năm trước cách đây
mục cha
commit
5b7c9bb40a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/sys/dept/CheckAndEditModel.vue

+ 1 - 1
src/views/sys/dept/CheckAndEditModel.vue

@@ -111,7 +111,7 @@ export default {
     },
     saveData() {
       let url, type
-      if (!this.model.id) {
+      if (!this.model.deptId) {
         url = this.url.add
         type = 'post'
       } else {