chore: 由于 vue 升级了部分 api 导致 farm 无法构建,暂通过 vite 进行构建
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
"vue": "catalog:"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@farmfe/cli": "^1.0.4",
|
||||
"@farmfe/core": "^1.6.7",
|
||||
"@farmfe/cli": "catalog:",
|
||||
"@farmfe/core": "catalog:",
|
||||
"@types/postmate": "catalog:",
|
||||
"@vitejs/plugin-vue": "^5.2.1",
|
||||
"@vtj/cli": "^0.10.4",
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user