style(仪表板): 切换主题时弹框右上角关闭按钮隐藏

This commit is contained in:
wangjiahao 2022-08-18 12:04:22 +08:00
parent e94cc53104
commit 9c5904e1bf

View File

@ -261,7 +261,8 @@ export default {
this.$confirm(this.$t('panel.theme_change_tips'), this.$t('panel.theme_change_warn'), {
confirmButtonText: this.$t('commons.confirm'),
cancelButtonText: this.$t('commons.cancel'),
type: 'warning'
type: 'warning',
showClose: false
}).then(() => {
this.$store.commit('setCanvasStyle', JSON.parse(this.subjectItem.details))
this.$store.commit('recordSnapshot', 'subjectChange')