阶段 1 收尾 BUG-C:auth-refactor.js 调 /auth/loginByPassword (txw-cloud 新栈),vue.config.js 的 devServer.proxy 缺 ^/auth 条目, dev server 不知把请求转给 8080 gateway,请求落到 SPA fallback 返回 index.html,登录永远走不通。 target 指向 http://localhost:8080(与 .env.development.new 中 VUE_APP_MHZC_PROXY 一致,8080 是新 gateway,auth 9200 / system 9201 都在它后面)。 不破坏 9002 老栈:^/sso / ^/mhzc / ^/gxzx / ^/yygl 保持原状。 验收:点登录按钮 → localStorage 自动出现 txw_access_token → /system/user/getInfo 请求头带 Authorization: Bearer ... |
||
|---|---|---|
| .. | ||
| .claude | ||
| devops | ||
| docs | ||
| mock | ||
| public | ||
| src | ||
| tests/unit | ||
| .browserslistrc | ||
| .commitlintrc.js | ||
| .cz-config.js | ||
| .env | ||
| .env.development | ||
| .env.production | ||
| .env.test | ||
| .eslintignore | ||
| .eslintrc.js | ||
| .gitattributes | ||
| .gitignore | ||
| .stylelintrc.json | ||
| .yarnrc | ||
| babel.config.js | ||
| Dockerfile | ||
| env.multiple-deploy | ||
| jsconfig.json | ||
| nginx.conf | ||
| nodemon.json | ||
| package-lock.json | ||
| package.json | ||
| prettier.config.js | ||
| proxy.js | ||
| README.md | ||
| stylelint.config.js | ||
| vue.config.js | ||