优化
This commit is contained in:
@@ -159,6 +159,10 @@
|
||||
},
|
||||
|
||||
confirm () {
|
||||
if (!this.content) {
|
||||
return this.$toast('文本不能为空')
|
||||
}
|
||||
|
||||
if (this.currIndex >= 0) {
|
||||
this.richList[this.currIndex].value = this.content
|
||||
} else {
|
||||
|
||||
@@ -168,6 +168,10 @@
|
||||
},
|
||||
|
||||
confirm () {
|
||||
if (!this.content) {
|
||||
return this.$toast('文本不能为空')
|
||||
}
|
||||
|
||||
if (this.currIndex >= 0) {
|
||||
this.richList[this.currIndex].value = this.content
|
||||
} else {
|
||||
|
||||
@@ -188,6 +188,10 @@
|
||||
},
|
||||
|
||||
confirm () {
|
||||
if (!this.content) {
|
||||
return this.$toast('文本不能为空')
|
||||
}
|
||||
|
||||
if (this.currIndex >= 0) {
|
||||
this.richList[this.currIndex].value = this.content
|
||||
} else {
|
||||
|
||||
@@ -159,6 +159,10 @@
|
||||
},
|
||||
|
||||
confirm () {
|
||||
if (!this.content) {
|
||||
return this.$toast('文本不能为空')
|
||||
}
|
||||
|
||||
if (this.currIndex >= 0) {
|
||||
this.richList[this.currIndex].value = this.content
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user