pull/733/head
parent
845e5de43f
commit
ef52f2465e
|
@ -45,9 +45,7 @@ export default {
|
|||
// console.log(to, from)
|
||||
if (to.query.updated) return
|
||||
let id = to.query.id
|
||||
if (id == null) {
|
||||
id = defaultList.id
|
||||
} else if (!getList(id)) {
|
||||
if (id == null || !getList(id)) {
|
||||
id = defaultList.id
|
||||
}
|
||||
this.listId = id
|
||||
|
|
|
@ -112,12 +112,10 @@ export default {
|
|||
}
|
||||
|
||||
const exportSetting = (path) => {
|
||||
console.log(path)
|
||||
const data = {
|
||||
type: 'setting',
|
||||
data: Object.assign({ version: settingVersion.value }, toRaw(setting.value)),
|
||||
}
|
||||
console.log(data)
|
||||
saveLxConfigFile(path, data)
|
||||
}
|
||||
const handleExportSetting = () => {
|
||||
|
|
Loading…
Reference in New Issue