lex 2 年之前
父節點
當前提交
69f4c2dfc9
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/views/process/list/create.vue

+ 3 - 1
src/views/process/list/create.vue

@@ -172,7 +172,9 @@ export default {
     this.cacheFormData = getSearch || [];
     if (this.cacheFormData.length > 0) {
       const tempSearch = this.cacheFormData[0];
-      this.ruleForm.deptId = tempSearch.deptId;
+      this.ruleForm.deptId = tempSearch.deptId
+        ? Number(tempSearch.deptId)
+        : null;
       this.ruleForm.priority = tempSearch.priority;
     }