zcy 4 lat temu
rodzic
commit
5b7c9bb40a
1 zmienionych plików z 1 dodań i 1 usunięć
  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 {