fix(app): 修复用户认证逻辑和更新构建文件

修复用户认证检查逻辑,添加实名认证拦截条件
更新构建生成的静态文件和元数据
优化用户信息获取和登录状态判断
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-06-30 12:11:41 +08:00
parent 532a63f423
commit 1ed448042f
12 changed files with 96 additions and 72 deletions

View File

@@ -2609,75 +2609,75 @@ const assets$1 = {
"size": 2238,
"path": "../public/favicon.ico"
},
"/static/Bnz5WF9T.js": {
"/static/DMIdnJL4.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"5b1bc-f7Lix7/sshCOSMvmn8TKV31lhLo\"",
"mtime": "2025-06-26T08:17:10.770Z",
"size": 373180,
"path": "../public/static/Bnz5WF9T.js"
},
"/static/B_fhJsDh.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"d3c-3hHk7YSJAqbVW/+bAdwO1qnlqd8\"",
"mtime": "2025-06-26T08:17:10.770Z",
"etag": "\"d3c-V3Ok/x1pL5e6DfjN+Gzv5tsGUpQ\"",
"mtime": "2025-06-30T04:04:22.176Z",
"size": 3388,
"path": "../public/static/B_fhJsDh.js"
"path": "../public/static/DMIdnJL4.js"
},
"/static/CZev01jU.js": {
"/static/Dt57OhDI.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"24c9-LZC3vkS8ZznnWuNOWeXaVw9Gap4\"",
"mtime": "2025-06-26T08:17:10.770Z",
"etag": "\"24c9-wh2g9guGc3w+rvx5dCchXeqyLVc\"",
"mtime": "2025-06-30T04:04:22.174Z",
"size": 9417,
"path": "../public/static/CZev01jU.js"
"path": "../public/static/Dt57OhDI.js"
},
"/static/empty-icon.CyaRoygc.png": {
"type": "image/png",
"etag": "\"17df-ZbUVuzPJ5DAL9B9xteitdPCiUxY\"",
"mtime": "2025-06-26T08:17:10.770Z",
"mtime": "2025-06-30T04:04:22.176Z",
"size": 6111,
"path": "../public/static/empty-icon.CyaRoygc.png"
},
"/static/entry.Ac-gJZ5d.css": {
"type": "text/css; charset=utf-8",
"etag": "\"18a30-qmndbce/ZiLfG/YK0OQ7Cl+gk+8\"",
"mtime": "2025-06-26T08:17:10.770Z",
"mtime": "2025-06-30T04:04:22.176Z",
"size": 100912,
"path": "../public/static/entry.Ac-gJZ5d.css"
},
"/static/error-404.CZkObG7r.css": {
"type": "text/css; charset=utf-8",
"etag": "\"de4-qBee3TVrfYv3V1By16k8mWrjcVQ\"",
"mtime": "2025-06-26T08:17:10.768Z",
"mtime": "2025-06-30T04:04:22.176Z",
"size": 3556,
"path": "../public/static/error-404.CZkObG7r.css"
},
"/static/error-500.BFrSi6nG.css": {
"type": "text/css; charset=utf-8",
"etag": "\"75c-1DSF9z8DiRXW3VbuCpNqepB9vI0\"",
"mtime": "2025-06-26T08:17:10.770Z",
"mtime": "2025-06-30T04:04:22.176Z",
"size": 1884,
"path": "../public/static/error-500.BFrSi6nG.css"
},
"/static/J8M3-1Y-.js": {
"type": "text/javascript; charset=utf-8",
"etag": "\"5b19a-BlDSQ+kfR2ksbHIOIkvZjFdRGzM\"",
"mtime": "2025-06-30T04:04:22.176Z",
"size": 373146,
"path": "../public/static/J8M3-1Y-.js"
},
"/static/logo.DlviZpxD.png": {
"type": "image/png",
"etag": "\"843f-FSXGFGigIHmtzjdcQzuMz/a7E+o\"",
"mtime": "2025-06-26T08:17:10.768Z",
"mtime": "2025-06-30T04:04:22.176Z",
"size": 33855,
"path": "../public/static/logo.DlviZpxD.png"
},
"/static/builds/latest.json": {
"type": "application/json",
"etag": "\"47-bYVHrmrJxt0pdTbooLHTZ8albj0\"",
"mtime": "2025-06-26T08:17:13.816Z",
"etag": "\"47-8+cfIfequOGIfk25N4g4NjJwfos\"",
"mtime": "2025-06-30T04:04:24.776Z",
"size": 71,
"path": "../public/static/builds/latest.json"
},
"/static/builds/meta/7bc3d63a-2530-498d-9994-9a192be3bca3.json": {
"/static/builds/meta/76caa3f8-2d85-420c-8d74-c9c8e20b9fa3.json": {
"type": "application/json",
"etag": "\"8b-wBsYSRWVs44mTgvCBydh4SIFajw\"",
"mtime": "2025-06-26T08:17:13.816Z",
"etag": "\"8b-3M5XX0nXEaOOr6pY/0Uq1A9+HrA\"",
"mtime": "2025-06-30T04:04:24.776Z",
"size": 139,
"path": "../public/static/builds/meta/7bc3d63a-2530-498d-9994-9a192be3bca3.json"
"path": "../public/static/builds/meta/76caa3f8-2d85-420c-8d74-c9c8e20b9fa3.json"
}
};
@@ -4349,7 +4349,7 @@ function _expandFromEnv(value) {
const _inlineRuntimeConfig = {
"app": {
"baseURL": "/",
"buildId": "7bc3d63a-2530-498d-9994-9a192be3bca3",
"buildId": "76caa3f8-2d85-420c-8d74-c9c8e20b9fa3",
"buildAssetsDir": "/static/",
"cdnURL": ""
},

View File

@@ -18,7 +18,7 @@ const client_manifest = {
"module": true,
"prefetch": true,
"preload": true,
"file": "CZev01jU.js",
"file": "Dt57OhDI.js",
"name": "error-404",
"src": "node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue",
"isDynamicEntry": true,
@@ -38,7 +38,7 @@ const client_manifest = {
"module": true,
"prefetch": true,
"preload": true,
"file": "B_fhJsDh.js",
"file": "DMIdnJL4.js",
"name": "error-500",
"src": "node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue",
"isDynamicEntry": true,
@@ -58,7 +58,7 @@ const client_manifest = {
"module": true,
"prefetch": true,
"preload": true,
"file": "Bnz5WF9T.js",
"file": "J8M3-1Y-.js",
"name": "entry",
"src": "node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/entry.js",
"isEntry": true,

View File

@@ -5997,7 +5997,8 @@ const _sfc_main$2 = {
let answerList = ref([]);
let answerPage = ref(1);
const operateLike = () => {
if (realname.value == 0 && user.value.uin > 0) {
var _a;
if (realname.value == 0 && ((_a = user.value) == null ? void 0 : _a.uin) > 0) {
openAttest();
return;
}
@@ -6264,6 +6265,11 @@ const _sfc_main$2 = {
anonymous: 0
});
const questionsInit = () => {
var _a;
if (realname.value == 0 && ((_a = user.value) == null ? void 0 : _a.uin) > 0) {
openAttest();
return;
}
if (isNeedLogin.value) {
return;
}
@@ -6283,6 +6289,11 @@ const _sfc_main$2 = {
questionsObj.value.anonymous = questionsObj.value.anonymous == 0 ? 1 : 0;
};
const postingIssue = () => {
var _a;
if (realname.value == 0 && ((_a = user.value) == null ? void 0 : _a.uin) > 0) {
openAttest();
return;
}
if (isNeedLogin.value) {
return;
}