CN-936 开发appearance页面:保存逻辑调整,及timezoneOffset设置方式修改

This commit is contained in:
hyx
2023-03-24 18:44:02 +08:00
parent 102f99e4f5
commit 5433006ebd
6 changed files with 148 additions and 149 deletions

View File

@@ -295,13 +295,13 @@ export default {
this.rightBox.show = true
},
editReport () {
if(this.batchDeleteObjs.length === 0){
this.$alert(this.$t('tip.pleaseSelectForEdit'),{
if (this.batchDeleteObjs.length === 0) {
this.$alert(this.$t('tip.pleaseSelectForEdit'), {
confirmButtonText: this.$t('tip.yes'),
type:'warning'
type: 'warning'
})
}else {
let curRecord = this.batchDeleteObjs[0]
} else {
const curRecord = this.batchDeleteObjs[0]
this.initConfig(curRecord)
this.object = curRecord
this.rightBox.show = true