zhuhao_dev #128

Merged
zhuhao merged 5 commits from zhuhao_dev into main 2024-08-14 10:00:48 +08:00
3 changed files with 4 additions and 5 deletions
Showing only changes of commit 8f50174595 - Show all commits

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)
})