Commit 2aa5d87b authored by 盖献康's avatar 盖献康

bug

parent c00d95e7
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
console.log('隐私协议', this.privacyPolicy) console.log('隐私协议', this.privacyPolicy)
// 内容为空不能 // 内容为空不能
if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') { if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') {
this.$modal.msgWarning('内容不能为空') this.$modal.msgError('内容不能为空')
return return
} }
this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', { this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', {
......
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
console.log('隐私协议', this.privacyPolicy) console.log('隐私协议', this.privacyPolicy)
// 内容为空不能 // 内容为空不能
if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') { if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') {
this.$modal.msgWarning('内容不能为空') this.$modal.msgError('内容不能为空')
return return
} }
this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', { this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', {
......
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
console.log('隐私协议', this.privacyPolicy) console.log('隐私协议', this.privacyPolicy)
// 内容为空不能 // 内容为空不能
if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') { if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') {
this.$modal.msgWarning('内容不能为空') this.$modal.msgError('内容不能为空')
return return
} }
this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', { this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', {
......
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