修复顶级部门不能修改的问题
This commit is contained in:
15
index.html
15
index.html
File diff suppressed because one or more lines are too long
@@ -61,7 +61,7 @@ export default {
|
|||||||
doSubmit() {
|
doSubmit() {
|
||||||
this.$refs['form'].validate((valid) => {
|
this.$refs['form'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
if (this.form.pid) {
|
if (this.form.pid !== undefined) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
if (this.isAdd) {
|
if (this.isAdd) {
|
||||||
this.doAdd()
|
this.doAdd()
|
||||||
|
|||||||
Reference in New Issue
Block a user