二期:BUG修复

This commit is contained in:
朱浩 2024-08-13 16:46:47 +08:00
parent bc9c6a3c89
commit 8f50174595
3 changed files with 4 additions and 5 deletions

View File

@ -9,7 +9,7 @@ VITE_APP_BASE_API = '/dev-api'
VITE_APP_DOMAIN = 'file.ysaix.com'
VITE_APP_UPLOAD_API = 'http://192.168.2.52:7863'
VITE_APP_UPLOAD_API = 'https://file.ysaix.com:7868/prod-api'
VITE_APP_RES_FILE_PATH = 'https://file.ysaix.com:7868/src/assets/textbook/booktxt/'

View File

@ -20,7 +20,6 @@ export function shareStorePlugin({store}) {
function stateSync(store) {
const storeName = store.$id
const jsonStr = circularSafeStringify(store.$state)
console.log('state-change', jsonStr, storeName)
// 通知主线程更新
ipcRenderer?.invoke('pinia-state-change', storeName, jsonStr)
}

View File

@ -552,7 +552,7 @@ export default {
}
}
//
let ary = uniqBy([...this.currentFileList, ...list], 'id')
let ary = uniqBy([...list], 'id')
//
this.currentWorkList = cloneDeep(ary)
})