chore: 由于 vue 升级了部分 api 导致 farm 无法构建,暂通过 vite 进行构建

This commit is contained in:
wangxuefeng
2025-03-17 14:43:51 +08:00
parent 036470cdb7
commit a28d572879
6 changed files with 581 additions and 388 deletions

View File

@@ -43,6 +43,7 @@ const initPostmateHandshake = async () => {
});
return model.then((parent) => {
console.log('parent', parent);
// 只获取 accessToken
accessToken.value = parent.model.accessToken || '';
sessionStorage.setItem('y-code-access-token', accessToken.value);