修复删除
parent
bf543518f7
commit
0972735f16
|
@ -126,6 +126,7 @@ Anot({
|
||||||
.then(res => {
|
.then(res => {
|
||||||
delete dict[this.editDomain]
|
delete dict[this.editDomain]
|
||||||
this.domains.remove(this.editDomain)
|
this.domains.remove(this.editDomain)
|
||||||
|
this.activeDomain = ''
|
||||||
this.editDomain = ''
|
this.editDomain = ''
|
||||||
this.records.clear()
|
this.records.clear()
|
||||||
this.save()
|
this.save()
|
||||||
|
@ -148,6 +149,7 @@ Anot({
|
||||||
this.domains.set(idx, val)
|
this.domains.set(idx, val)
|
||||||
dict[val] = dict[this.editDomain]
|
dict[val] = dict[this.editDomain]
|
||||||
delete dict[this.editDomain]
|
delete dict[this.editDomain]
|
||||||
|
this.activeDomain = ''
|
||||||
this.editDomain = ''
|
this.editDomain = ''
|
||||||
this.save()
|
this.save()
|
||||||
this.toggleDomain(val)
|
this.toggleDomain(val)
|
||||||
|
|
|
@ -66,7 +66,7 @@ app.once('ready', () => {
|
||||||
win = null
|
win = null
|
||||||
})
|
})
|
||||||
|
|
||||||
// win.openDevTools()
|
win.openDevTools()
|
||||||
|
|
||||||
// 然后加载应用的 index.html
|
// 然后加载应用的 index.html
|
||||||
win.loadURL('app://local/index.html')
|
win.loadURL('app://local/index.html')
|
||||||
|
|
Loading…
Reference in New Issue