修复了2个bug

This commit is contained in:
andy
2026-09-02 17:02:02 +08:00
parent ce8372e878
commit 2a64dc7395
64 changed files with 1050 additions and 39 deletions

File diff suppressed because one or more lines are too long

78
out/auth/admin-login.txt Normal file
View File

@@ -0,0 +1,78 @@
1:"$Sreact.fragment"
2:I[1402,["592","static/chunks/c15bf2b0-52e8419f34af26ab.js","274","static/chunks/274-5d303542dba02674.js","271","static/chunks/271-f1cac37c39a5d20a.js","38","static/chunks/38-6aa69d1115b25281.js","177","static/chunks/app/layout-241272218018bb0e.js"],""]
4:I[4577,["321","static/chunks/app/auth/admin-login/page-2dfbcccc4b553689.js"],"BrowserAuthProvider"]
5:I[4662,["592","static/chunks/c15bf2b0-52e8419f34af26ab.js","274","static/chunks/274-5d303542dba02674.js","271","static/chunks/271-f1cac37c39a5d20a.js","38","static/chunks/38-6aa69d1115b25281.js","177","static/chunks/app/layout-241272218018bb0e.js"],"AppShell"]
6:I[9766,[],""]
7:I[8924,[],""]
b:I[7150,[],""]
:HL["/_next/static/css/4d70bc2db6d507bd.css","style"]
3:T680,
(function () {
var root = typeof globalThis !== "undefined" ? globalThis : window;
var cryptoObject = root.crypto || root.msCrypto;
if (cryptoObject && typeof cryptoObject.randomUUID === "function") return;
if (!cryptoObject) {
cryptoObject = {};
try {
Object.defineProperty(root, "crypto", {
configurable: true,
value: cryptoObject
});
} catch (error) {
root.crypto = cryptoObject;
}
}
var getRandomValues = typeof cryptoObject.getRandomValues === "function"
? cryptoObject.getRandomValues.bind(cryptoObject)
: null;
function byteToHex(byte) {
return (byte + 256).toString(16).slice(1);
}
function createRandomUUID() {
var bytes = new Uint8Array(16);
if (getRandomValues) {
getRandomValues(bytes);
} else {
for (var index = 0; index < bytes.length; index += 1) {
bytes[index] = Math.floor(Math.random() * 256);
}
}
bytes[6] = (bytes[6] & 15) | 64;
bytes[8] = (bytes[8] & 63) | 128;
return (
byteToHex(bytes[0]) + byteToHex(bytes[1]) + byteToHex(bytes[2]) + byteToHex(bytes[3]) + "-" +
byteToHex(bytes[4]) + byteToHex(bytes[5]) + "-" +
byteToHex(bytes[6]) + byteToHex(bytes[7]) + "-" +
byteToHex(bytes[8]) + byteToHex(bytes[9]) + "-" +
byteToHex(bytes[10]) + byteToHex(bytes[11]) + byteToHex(bytes[12]) +
byteToHex(bytes[13]) + byteToHex(bytes[14]) + byteToHex(bytes[15])
);
}
try {
Object.defineProperty(cryptoObject, "randomUUID", {
configurable: true,
value: createRandomUUID
});
} catch (error) {
cryptoObject.randomUUID = createRandomUUID;
}
})();
0:{"P":null,"b":"IN3MGzw9p-Y1lcldJ0DG-","p":"","c":["","auth","admin-login"],"i":false,"f":[[["",{"children":["auth",{"children":["admin-login",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/4d70bc2db6d507bd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"zh-CN","children":["$","body",null,{"children":[["$","$L2",null,{"id":"random-uuid-polyfill","strategy":"beforeInteractive","dangerouslySetInnerHTML":{"__html":"$3"}}],["$","$L4",null,{"children":["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}]}]]}],{"children":["auth",["$","$1","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["admin-login",["$","$1","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":"$L8","templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__","$L9",{},null,false]},null,false]},null,false]},null,false],"$La",false]],"m":"$undefined","G":["$b",[]],"s":false,"S":true}
c:I[4577,["321","static/chunks/app/auth/admin-login/page-2dfbcccc4b553689.js"],"ClientRedirect"]
d:I[4431,[],"OutletBoundary"]
f:I[5278,[],"AsyncMetadataOutlet"]
11:I[4431,[],"ViewportBoundary"]
13:I[4431,[],"MetadataBoundary"]
14:"$Sreact.suspense"
8:["$","$L7",null,{}]
9:["$","$1","c",{"children":[["$","$Lc",null,{"to":"/auth/login","forwardNext":true}],null,["$","$Ld",null,{"children":["$Le",["$","$Lf",null,{"promise":"$@10"}]]}]]}]
a:["$","$1","h",{"children":[null,[["$","$L11",null,{"children":"$L12"}],null],["$","$L13",null,{"children":["$","div",null,{"hidden":true,"children":["$","$14",null,{"fallback":null,"children":"$L15"}]}]}]]}]
12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
e:null
16:I[622,[],"IconMark"]
10:{"metadata":[["$","title","0",{"children":"智念AIGC平台"}],["$","meta","1",{"name":"description","content":"智念AIGC平台:统一创作图片与视频。"}],["$","link","2",{"rel":"icon","href":"/icon.svg?093aeafea5042f9a","type":"image/svg+xml","sizes":"any"}],["$","$L16","3",{}]],"error":null,"digest":"$undefined"}
15:"$10:metadata"

1
out/auth/login.html Normal file

File diff suppressed because one or more lines are too long

78
out/auth/login.txt Normal file
View File

@@ -0,0 +1,78 @@
1:"$Sreact.fragment"
2:I[1402,["592","static/chunks/c15bf2b0-52e8419f34af26ab.js","274","static/chunks/274-5d303542dba02674.js","271","static/chunks/271-f1cac37c39a5d20a.js","38","static/chunks/38-6aa69d1115b25281.js","177","static/chunks/app/layout-241272218018bb0e.js"],""]
4:I[4577,["974","static/chunks/app/page-2dfbcccc4b553689.js"],"BrowserAuthProvider"]
5:I[4662,["592","static/chunks/c15bf2b0-52e8419f34af26ab.js","274","static/chunks/274-5d303542dba02674.js","271","static/chunks/271-f1cac37c39a5d20a.js","38","static/chunks/38-6aa69d1115b25281.js","177","static/chunks/app/layout-241272218018bb0e.js"],"AppShell"]
6:I[9766,[],""]
7:I[8924,[],""]
b:I[7150,[],""]
:HL["/_next/static/css/4d70bc2db6d507bd.css","style"]
3:T680,
(function () {
var root = typeof globalThis !== "undefined" ? globalThis : window;
var cryptoObject = root.crypto || root.msCrypto;
if (cryptoObject && typeof cryptoObject.randomUUID === "function") return;
if (!cryptoObject) {
cryptoObject = {};
try {
Object.defineProperty(root, "crypto", {
configurable: true,
value: cryptoObject
});
} catch (error) {
root.crypto = cryptoObject;
}
}
var getRandomValues = typeof cryptoObject.getRandomValues === "function"
? cryptoObject.getRandomValues.bind(cryptoObject)
: null;
function byteToHex(byte) {
return (byte + 256).toString(16).slice(1);
}
function createRandomUUID() {
var bytes = new Uint8Array(16);
if (getRandomValues) {
getRandomValues(bytes);
} else {
for (var index = 0; index < bytes.length; index += 1) {
bytes[index] = Math.floor(Math.random() * 256);
}
}
bytes[6] = (bytes[6] & 15) | 64;
bytes[8] = (bytes[8] & 63) | 128;
return (
byteToHex(bytes[0]) + byteToHex(bytes[1]) + byteToHex(bytes[2]) + byteToHex(bytes[3]) + "-" +
byteToHex(bytes[4]) + byteToHex(bytes[5]) + "-" +
byteToHex(bytes[6]) + byteToHex(bytes[7]) + "-" +
byteToHex(bytes[8]) + byteToHex(bytes[9]) + "-" +
byteToHex(bytes[10]) + byteToHex(bytes[11]) + byteToHex(bytes[12]) +
byteToHex(bytes[13]) + byteToHex(bytes[14]) + byteToHex(bytes[15])
);
}
try {
Object.defineProperty(cryptoObject, "randomUUID", {
configurable: true,
value: createRandomUUID
});
} catch (error) {
cryptoObject.randomUUID = createRandomUUID;
}
})();
0:{"P":null,"b":"IN3MGzw9p-Y1lcldJ0DG-","p":"","c":["","auth","login"],"i":false,"f":[[["",{"children":["auth",{"children":["login",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/4d70bc2db6d507bd.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"zh-CN","children":["$","body",null,{"children":[["$","$L2",null,{"id":"random-uuid-polyfill","strategy":"beforeInteractive","dangerouslySetInnerHTML":{"__html":"$3"}}],["$","$L4",null,{"children":["$","$L5",null,{"children":["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}]}]]}]}]]}],{"children":["auth",["$","$1","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L7",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["login",["$","$1","c",{"children":[null,["$","$L6",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":"$L8","templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":["__PAGE__","$L9",{},null,false]},null,false]},null,false]},null,false],"$La",false]],"m":"$undefined","G":["$b",[]],"s":false,"S":true}
c:I[2985,["592","static/chunks/c15bf2b0-52e8419f34af26ab.js","274","static/chunks/274-5d303542dba02674.js","271","static/chunks/271-f1cac37c39a5d20a.js","859","static/chunks/app/auth/login/page-4dd3b2b5ad75ce4d.js"],"AuthLoginPanel"]
d:I[4431,[],"OutletBoundary"]
f:I[5278,[],"AsyncMetadataOutlet"]
11:I[4431,[],"ViewportBoundary"]
13:I[4431,[],"MetadataBoundary"]
14:"$Sreact.suspense"
8:["$","$L7",null,{}]
9:["$","$1","c",{"children":[["$","$Lc",null,{}],null,["$","$Ld",null,{"children":["$Le",["$","$Lf",null,{"promise":"$@10"}]]}]]}]
a:["$","$1","h",{"children":[null,[["$","$L11",null,{"children":"$L12"}],null],["$","$L13",null,{"children":["$","div",null,{"hidden":true,"children":["$","$14",null,{"fallback":null,"children":"$L15"}]}]}]]}]
12:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}]]
e:null
16:I[622,[],"IconMark"]
10:{"metadata":[["$","title","0",{"children":"智念AIGC平台"}],["$","meta","1",{"name":"description","content":"智念AIGC平台:统一创作图片与视频。"}],["$","link","2",{"rel":"icon","href":"/icon.svg?093aeafea5042f9a","type":"image/svg+xml","sizes":"any"}],["$","$L16","3",{}]],"error":null,"digest":"$undefined"}
15:"$10:metadata"