移除日志
parent
b7433264eb
commit
845e5de43f
|
@ -49,7 +49,7 @@ export default ({
|
||||||
})
|
})
|
||||||
|
|
||||||
const rSetConfig = onSetConfig((event, config) => {
|
const rSetConfig = onSetConfig((event, config) => {
|
||||||
console.log(config)
|
// console.log(config)
|
||||||
setSetting(Object.assign({}, toRaw(setting.value), config))
|
setSetting(Object.assign({}, toRaw(setting.value), config))
|
||||||
window.eventHub.emit(eventBaseName.set_config, config)
|
window.eventHub.emit(eventBaseName.set_config, config)
|
||||||
})
|
})
|
||||||
|
|
|
@ -82,7 +82,7 @@ export default {
|
||||||
watch(currentStting, newSetting => {
|
watch(currentStting, newSetting => {
|
||||||
const newSettingStr = JSON.stringify(newSetting)
|
const newSettingStr = JSON.stringify(newSetting)
|
||||||
if (newSettingStr === JSON.stringify(setting.value)) return
|
if (newSettingStr === JSON.stringify(setting.value)) return
|
||||||
console.log(newSetting)
|
// console.log(newSetting)
|
||||||
setSetting(JSON.parse(newSettingStr))
|
setSetting(JSON.parse(newSettingStr))
|
||||||
}, {
|
}, {
|
||||||
deep: true,
|
deep: true,
|
||||||
|
|
Loading…
Reference in New Issue