Commit 545274e8 authored by 盖献康's avatar 盖献康

bug(66039) - 文档管理校验问题

parent 22ffc3d8
......@@ -79,6 +79,8 @@ export default {
// this.$modal.msgError('内容不能为空')
// return
// }
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
this.$confirm('系统将立即发布编辑内容,是否确定', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
......@@ -88,8 +90,6 @@ export default {
type: 'warning',
closeOnClickModal: false
}).then(() => {
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
if (this.isAdd) {
// 新增
addManagement(this.privacyPolicy).then(response => {
......@@ -105,8 +105,8 @@ export default {
}
})
}
}
})
}
})
},
getPrivacyPolicy() {
......
......@@ -79,6 +79,8 @@ export default {
// this.$modal.msgError('内容不能为空')
// return
// }
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
this.$confirm('系统将立即发布编辑内容,是否确定', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
......@@ -88,8 +90,6 @@ export default {
type: 'warning',
closeOnClickModal: false
}).then(() => {
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
if (this.isAdd) {
// 新增
addManagement(this.privacyPolicy).then(response => {
......@@ -105,8 +105,8 @@ export default {
}
})
}
}
})
}
})
},
getPrivacyPolicy() {
......
......@@ -79,6 +79,8 @@ export default {
// this.$modal.msgError('内容不能为空')
// return
// }
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
this.$confirm('系统将立即发布编辑内容,是否确定', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
......@@ -88,8 +90,6 @@ export default {
type: 'warning',
closeOnClickModal: false
}).then(() => {
this.$refs['ruleForm'].validate((valid) => {
if (valid) {
if (this.isAdd) {
// 新增
addManagement(this.privacyPolicy).then(response => {
......@@ -105,8 +105,8 @@ export default {
}
})
}
}
})
}
})
},
getPrivacyPolicy() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment