修改bug,切换详情删除输入框内容
This commit is contained in:
parent
39475bc8bb
commit
4c30676c39
@ -1,5 +1,5 @@
|
||||
{
|
||||
"date": "2025-04-30T08:35:28.135Z",
|
||||
"date": "2025-04-30T09:01:05.674Z",
|
||||
"preset": "node-server",
|
||||
"framework": {
|
||||
"name": "nuxt",
|
||||
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as s,t as a,v as i,x as u,y as e,z as o}from"./BtJiJbkr.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return a({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(u(),i("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},m=s(f,[["__scopeId","data-v-84d937c0"]]);export{m as default};
|
||||
import{_ as s,t as a,v as i,x as u,y as e,z as o}from"./BSsoByZ3.js";const l={class:"antialiased bg-white dark:bg-black dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-black"},c={class:"max-w-520px text-center"},d=["textContent"],p=["textContent"],f={__name:"error-500",props:{appName:{type:String,default:"Nuxt"},version:{type:String,default:""},statusCode:{type:Number,default:500},statusMessage:{type:String,default:"Server error"},description:{type:String,default:"This page is temporarily unavailable."}},setup(t){const r=t;return a({title:`${r.statusCode} - ${r.statusMessage} | ${r.appName}`,script:[{children:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver((e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)})).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{children:'*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1{font-size:inherit;font-weight:inherit}h1,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }'}]}),(g,n)=>(u(),i("div",l,[n[0]||(n[0]=e("div",{class:"-bottom-1/2 fixed h-1/2 left-0 right-0 spotlight"},null,-1)),e("div",c,[e("h1",{class:"font-medium mb-8 sm:text-10xl text-8xl",textContent:o(t.statusCode)},null,8,d),e("p",{class:"font-light leading-tight mb-16 px-8 sm:px-0 sm:text-4xl text-xl",textContent:o(t.description)},null,8,p)])]))}},m=s(f,[["__scopeId","data-v-84d937c0"]]);export{m as default};
|
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{"id":"6c82e2ec-288f-48f8-90ab-4c99790d45ba","timestamp":1746002113178}
|
||||
{"id":"229fa969-7ecb-457e-a67f-b95c1ce32ff2","timestamp":1746003651159}
|
@ -0,0 +1 @@
|
||||
{"id":"229fa969-7ecb-457e-a67f-b95c1ce32ff2","timestamp":1746003651159,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
@ -1 +0,0 @@
|
||||
{"id":"6c82e2ec-288f-48f8-90ab-4c99790d45ba","timestamp":1746002113178,"matcher":{"static":{},"wildcard":{},"dynamic":{}},"prerendered":[]}
|
@ -2609,75 +2609,75 @@ const assets$1 = {
|
||||
"size": 2238,
|
||||
"path": "../public/favicon.ico"
|
||||
},
|
||||
"/static/B18V_g5i.js": {
|
||||
"/static/BSsoByZ3.js": {
|
||||
"type": "text/javascript; charset=utf-8",
|
||||
"etag": "\"24c9-acw4OkzPMPGD6tZj9YDdZvVJzsM\"",
|
||||
"mtime": "2025-04-30T08:35:17.359Z",
|
||||
"size": 9417,
|
||||
"path": "../public/static/B18V_g5i.js"
|
||||
"etag": "\"5ae9c-FwaxEU9ay28po/QERUcn13FclcQ\"",
|
||||
"mtime": "2025-04-30T09:00:55.214Z",
|
||||
"size": 372380,
|
||||
"path": "../public/static/BSsoByZ3.js"
|
||||
},
|
||||
"/static/BtJiJbkr.js": {
|
||||
"/static/CEF-VwNy.js": {
|
||||
"type": "text/javascript; charset=utf-8",
|
||||
"etag": "\"5aea3-+QbF6troIHYNUNtWMOglO1ngvMw\"",
|
||||
"mtime": "2025-04-30T08:35:17.359Z",
|
||||
"size": 372387,
|
||||
"path": "../public/static/BtJiJbkr.js"
|
||||
},
|
||||
"/static/CZEVIQE1.js": {
|
||||
"type": "text/javascript; charset=utf-8",
|
||||
"etag": "\"d3c-b4gYgZH/yqwtQ7ALV7hMbrJXO5I\"",
|
||||
"mtime": "2025-04-30T08:35:17.359Z",
|
||||
"etag": "\"d3c-B1EdUj+paTltMAkflBtqIhn4qwM\"",
|
||||
"mtime": "2025-04-30T09:00:55.215Z",
|
||||
"size": 3388,
|
||||
"path": "../public/static/CZEVIQE1.js"
|
||||
"path": "../public/static/CEF-VwNy.js"
|
||||
},
|
||||
"/static/D2wFa6K0.js": {
|
||||
"type": "text/javascript; charset=utf-8",
|
||||
"etag": "\"24c9-xUJjwGqbP+i+vwzrWju9lTrVGzM\"",
|
||||
"mtime": "2025-04-30T09:00:55.214Z",
|
||||
"size": 9417,
|
||||
"path": "../public/static/D2wFa6K0.js"
|
||||
},
|
||||
"/static/empty-icon.CyaRoygc.png": {
|
||||
"type": "image/png",
|
||||
"etag": "\"17df-ZbUVuzPJ5DAL9B9xteitdPCiUxY\"",
|
||||
"mtime": "2025-04-30T08:35:17.358Z",
|
||||
"mtime": "2025-04-30T09:00:55.214Z",
|
||||
"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-04-30T08:35:17.358Z",
|
||||
"mtime": "2025-04-30T09:00:55.214Z",
|
||||
"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-04-30T08:35:17.359Z",
|
||||
"mtime": "2025-04-30T09:00:55.215Z",
|
||||
"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-04-30T08:35:17.359Z",
|
||||
"mtime": "2025-04-30T09:00:55.214Z",
|
||||
"size": 1884,
|
||||
"path": "../public/static/error-500.BFrSi6nG.css"
|
||||
},
|
||||
"/static/logo.DlviZpxD.png": {
|
||||
"type": "image/png",
|
||||
"etag": "\"843f-FSXGFGigIHmtzjdcQzuMz/a7E+o\"",
|
||||
"mtime": "2025-04-30T08:35:17.358Z",
|
||||
"mtime": "2025-04-30T09:00:55.214Z",
|
||||
"size": 33855,
|
||||
"path": "../public/static/logo.DlviZpxD.png"
|
||||
},
|
||||
"/static/builds/latest.json": {
|
||||
"type": "application/json",
|
||||
"etag": "\"47-we3v3RID73WrwmTKLUhMtKA+FI0\"",
|
||||
"mtime": "2025-04-30T08:35:20.251Z",
|
||||
"etag": "\"47-kcySXjnIr4o//d/yunPDh1qp9EM\"",
|
||||
"mtime": "2025-04-30T09:00:57.981Z",
|
||||
"size": 71,
|
||||
"path": "../public/static/builds/latest.json"
|
||||
},
|
||||
"/static/builds/meta/6c82e2ec-288f-48f8-90ab-4c99790d45ba.json": {
|
||||
"/static/builds/meta/229fa969-7ecb-457e-a67f-b95c1ce32ff2.json": {
|
||||
"type": "application/json",
|
||||
"etag": "\"8b-OokAhRUVPnpaRJ58F4UD/EUJuX4\"",
|
||||
"mtime": "2025-04-30T08:35:20.252Z",
|
||||
"etag": "\"8b-u+nQ7GDu+kBg32CUOmDnXvao+y8\"",
|
||||
"mtime": "2025-04-30T09:00:57.981Z",
|
||||
"size": 139,
|
||||
"path": "../public/static/builds/meta/6c82e2ec-288f-48f8-90ab-4c99790d45ba.json"
|
||||
"path": "../public/static/builds/meta/229fa969-7ecb-457e-a67f-b95c1ce32ff2.json"
|
||||
}
|
||||
};
|
||||
|
||||
@ -4349,7 +4349,7 @@ function _expandFromEnv(value) {
|
||||
const _inlineRuntimeConfig = {
|
||||
"app": {
|
||||
"baseURL": "/",
|
||||
"buildId": "6c82e2ec-288f-48f8-90ab-4c99790d45ba",
|
||||
"buildId": "229fa969-7ecb-457e-a67f-b95c1ce32ff2",
|
||||
"buildAssetsDir": "/static/",
|
||||
"cdnURL": ""
|
||||
},
|
||||
|
@ -18,7 +18,7 @@ const client_manifest = {
|
||||
"module": true,
|
||||
"prefetch": true,
|
||||
"preload": true,
|
||||
"file": "B18V_g5i.js",
|
||||
"file": "D2wFa6K0.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": "CZEVIQE1.js",
|
||||
"file": "CEF-VwNy.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": "BtJiJbkr.js",
|
||||
"file": "BSsoByZ3.js",
|
||||
"name": "entry",
|
||||
"src": "node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/entry.js",
|
||||
"isEntry": true,
|
||||
|
@ -5314,6 +5314,7 @@ const _sfc_main$3 = {
|
||||
});
|
||||
};
|
||||
let picture = ref({});
|
||||
let inputTextarea = ref("");
|
||||
watch(
|
||||
detailsToken,
|
||||
(newValue, oldValue) => {
|
||||
@ -5323,6 +5324,7 @@ const _sfc_main$3 = {
|
||||
picture.value = {};
|
||||
commentTotalCount.value = 0;
|
||||
commentCount.value = 0;
|
||||
inputTextarea.value = "";
|
||||
getComment();
|
||||
}
|
||||
},
|
||||
@ -5346,7 +5348,6 @@ const _sfc_main$3 = {
|
||||
__expose({
|
||||
closeEmoji
|
||||
});
|
||||
let inputTextarea = ref("");
|
||||
inject("handleMenuState");
|
||||
let dialogVisible = ref(false);
|
||||
let commemtDelete = {};
|
||||
|
@ -2,10 +2,10 @@ const interopDefault = r => r.default || r || [];
|
||||
const styles = {
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/entry.js": () => import('./entry-styles.BMEJ6WCM.mjs').then(interopDefault),
|
||||
"app.vue": () => import('./app-styles.CoC7fGAv.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue": () => import('./error-500-styles.TwxDbBgG.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue": () => import('./error-404-styles.wRz_-Rw1.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue?vue&type=style&index=0&scoped=84d937c0&lang.css": () => import('./error-500-styles.Cx3AJg0u.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue": () => import('./error-500-styles.TwxDbBgG.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-404.vue?vue&type=style&index=0&scoped=075d74b5&lang.css": () => import('./error-404-styles.BNmKahfp.mjs').then(interopDefault),
|
||||
"node_modules/.store/nuxt@3.16.0/node_modules/nuxt/dist/app/components/error-500.vue?vue&type=style&index=0&scoped=84d937c0&lang.css": () => import('./error-500-styles.Cx3AJg0u.mjs').then(interopDefault),
|
||||
"app.vue?vue&type=style&index=0&lang.css": () => import('./app-styles.DjCRi-SL.mjs').then(interopDefault)
|
||||
};
|
||||
|
||||
|
@ -367,6 +367,9 @@ const getComment = () => {
|
||||
|
||||
let picture = ref({});
|
||||
|
||||
let inputTextarea = ref("");
|
||||
|
||||
|
||||
// 监听 detailsToken 的变化
|
||||
watch(
|
||||
detailsToken,
|
||||
@ -378,6 +381,7 @@ watch(
|
||||
commentTotalCount.value = 0;
|
||||
commentCount.value = 0;
|
||||
alreadyCommentIdList = [];
|
||||
inputTextarea.value = "";
|
||||
getComment();
|
||||
}
|
||||
},
|
||||
@ -533,7 +537,6 @@ const handleInputPaste = (event, index, ii) => {
|
||||
}
|
||||
};
|
||||
|
||||
let inputTextarea = ref("");
|
||||
|
||||
// 提交回答-评论
|
||||
const submitAnswerComments = (index, i) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user