|
|
|
@ -47,14 +47,6 @@ export default {
|
|
|
|
|
const themeCluster = this.getThemeCluster(val.replace('#', ''))
|
|
|
|
|
const originalCluster = this.getThemeCluster(oldVal.replace('#', ''))
|
|
|
|
|
|
|
|
|
|
const $message = this.$message({
|
|
|
|
|
message: ' 正在切换主题,请稍后...',
|
|
|
|
|
customClass: 'theme-message',
|
|
|
|
|
type: 'success',
|
|
|
|
|
duration: 0,
|
|
|
|
|
iconClass: 'el-icon-loading'
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
const getHandler = (variable, id) => {
|
|
|
|
|
return () => {
|
|
|
|
|
const originalCluster = this.getThemeCluster(ORIGINAL_THEME.replace('#', ''))
|
|
|
|
@ -91,9 +83,6 @@ export default {
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
this.$emit('change', val)
|
|
|
|
|
|
|
|
|
|
$message.close()
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
updateStyle(style, oldCluster, newCluster) {
|
|
|
|
|