oops
This commit is contained in:
parent
9fe49c6db1
commit
c4442f595d
1 changed files with 1 additions and 2 deletions
|
|
@ -413,8 +413,7 @@ export default {
|
|||
hardReset() {
|
||||
switch (this.realSource) {
|
||||
case 'admin':
|
||||
return this.$store
|
||||
.dispatch('resetAdminSetting', { path: this.path })
|
||||
return useAdminSettingsStore().resetAdminSetting({ path: this.path })
|
||||
.then(() => {
|
||||
this.draft = this.state
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue