From 1e9c10a6e6e154b893d335f41d707d20eeabac25 Mon Sep 17 00:00:00 2001 From: zhengjie Date: Sun, 5 May 2019 17:21:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A1=B6=E7=BA=A7=E9=83=A8?= =?UTF-8?q?=E9=97=A8=E4=B8=8D=E8=83=BD=E4=BF=AE=E6=94=B9=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 15 +++++++++++++-- src/views/system/dept/module/form.vue | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 9d96047..4632ad7 100644 --- a/index.html +++ b/index.html @@ -3,9 +3,20 @@ + -
- +
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/dept/module/form.vue b/src/views/system/dept/module/form.vue index aea5b8d..cd854eb 100644 --- a/src/views/system/dept/module/form.vue +++ b/src/views/system/dept/module/form.vue @@ -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()