fixed unable to save settings error

This commit is contained in:
marvzhang
2020-02-03 15:27:00 +08:00
parent de2d230e1a
commit d944246946

View File

@@ -197,7 +197,15 @@ export default {
...mapState('user', [
'globalVariableList',
'globalVariableForm'
])
]),
userInfoStr () {
return JSON.stringify(this.userInfo)
}
},
watch: {
userInfoStr () {
this.saveUserInfo()
}
},
methods: {
deleteGlobalVariableHandle (id) {