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()