We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR Failed to compile with 1 error error in /data/wwwroot/Yearning-gemini/src/main.ts ERROR in /data/wwwroot/Yearning-gemini/src/main.ts(41,18): 41:18 Object is possibly 'undefined'. 39 | router.beforeEach((to, from, next) => { 40 | LoadingBar.start(); > 41 | config.title(to.meta.title); | ^ 42 | if (sessionStorage.getItem('locking') === '1' && to.name !== 'locking') { // 判断当前是否是锁定状态 43 | next(false); 44 | router.replace({name: 'login'}).then(() => { ERROR Build failed with errors. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] build: `vue-cli-service build` npm ERR! Exit status 1
The text was updated successfully, but these errors were encountered:
/data/wwwroot/Yearning-gemini/src/main.ts 39行改下 router.beforeEach((to: any, from, next)
router.beforeEach((to: any, from, next)
Sorry, something went wrong.
这是什么原理?
No branches or pull requests
The text was updated successfully, but these errors were encountered: