forked from github/dataease
style(仪表板): 切换主题时弹框右上角关闭按钮隐藏
This commit is contained in:
parent
e94cc53104
commit
9c5904e1bf
@ -261,7 +261,8 @@ export default {
|
|||||||
this.$confirm(this.$t('panel.theme_change_tips'), this.$t('panel.theme_change_warn'), {
|
this.$confirm(this.$t('panel.theme_change_tips'), this.$t('panel.theme_change_warn'), {
|
||||||
confirmButtonText: this.$t('commons.confirm'),
|
confirmButtonText: this.$t('commons.confirm'),
|
||||||
cancelButtonText: this.$t('commons.cancel'),
|
cancelButtonText: this.$t('commons.cancel'),
|
||||||
type: 'warning'
|
type: 'warning',
|
||||||
|
showClose: false
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.$store.commit('setCanvasStyle', JSON.parse(this.subjectItem.details))
|
this.$store.commit('setCanvasStyle', JSON.parse(this.subjectItem.details))
|
||||||
this.$store.commit('recordSnapshot', 'subjectChange')
|
this.$store.commit('recordSnapshot', 'subjectChange')
|
||||||
|
Loading…
Reference in New Issue
Block a user