forked from github/dataease
fix(仪表板): 修复因富文本视图导致的进入编辑状态的仪表板,初始保存按钮状态不对的问题
This commit is contained in:
parent
06052ea48e
commit
06ee7123f0
@ -116,7 +116,7 @@ export default {
|
|||||||
if (this.canEdit) {
|
if (this.canEdit) {
|
||||||
this.element.propValue.textValue = newValue
|
this.element.propValue.textValue = newValue
|
||||||
}
|
}
|
||||||
this.initReady||this.$store.commit('canvasChange')
|
this.initReady&&this.$store.commit('canvasChange')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@ -131,7 +131,9 @@ export default {
|
|||||||
tinymce.init({})
|
tinymce.init({})
|
||||||
this.myValue = this.assignment(this.element.propValue.textValue)
|
this.myValue = this.assignment(this.element.propValue.textValue)
|
||||||
bus.$on('initCurFields-' + this.element.id, this.initCurFieldsChange)
|
bus.$on('initCurFields-' + this.element.id, this.initCurFieldsChange)
|
||||||
this.initReady=true
|
this.$nextTick(()=>{
|
||||||
|
this.initReady=true
|
||||||
|
})
|
||||||
},
|
},
|
||||||
initCurFieldsChange() {
|
initCurFieldsChange() {
|
||||||
if (!this.canEdit) {
|
if (!this.canEdit) {
|
||||||
|
Loading…
Reference in New Issue
Block a user