修复顶级部门不能修改的问题

This commit is contained in:
zhengjie
2019-05-05 17:21:03 +08:00
parent 05e7366ead
commit 1e9c10a6e6
2 changed files with 14 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@@ -61,7 +61,7 @@ export default {
doSubmit() {
this.$refs['form'].validate((valid) => {
if (valid) {
if (this.form.pid) {
if (this.form.pid !== undefined) {
this.loading = true
if (this.isAdd) {
this.doAdd()