47 lines
1.7 KiB
JavaScript
47 lines
1.7 KiB
JavaScript
import { S as ElResult, h as ElButton } from "./element-plus.CkEW9frc.js";
|
|
import { J as defineComponent, e9 as useI18n, T as createBlock, a0 as withCtx, o as unref, S as openBlock, $ as createVNode, a9 as createTextVNode, aa as toDisplayString, a1 as createBaseVNode, dY as useRouter } from "./.pnpm.BW3P1y8f.js";
|
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper.1tPrXgE0.js";
|
|
const _imports_0 = "/web/img/404.B3JyPfEa.svg";
|
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
...{ name: "Page404" },
|
|
__name: "404",
|
|
setup(__props) {
|
|
const router = useRouter();
|
|
const back = () => router.push("/");
|
|
const t = useI18n().t;
|
|
return (_ctx, _cache) => {
|
|
const _component_el_button = ElButton;
|
|
const _component_el_result = ElResult;
|
|
return openBlock(), createBlock(_component_el_result, {
|
|
title: unref(t)("error.pageError"),
|
|
"sub-title": "请确认页面网址是否正确,或者点击下方按钮返回首页。"
|
|
}, {
|
|
icon: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
createBaseVNode("img", {
|
|
class: "min-w-[23.4375rem] sm:w-120",
|
|
src: _imports_0,
|
|
alt: "404"
|
|
}, null, -1)
|
|
])]),
|
|
extra: withCtx(() => [
|
|
createVNode(_component_el_button, {
|
|
round: "",
|
|
type: "primary",
|
|
onClick: back
|
|
}, {
|
|
default: withCtx(() => [
|
|
createTextVNode(toDisplayString(unref(t)("error.returnToHome")), 1)
|
|
]),
|
|
_: 1
|
|
})
|
|
]),
|
|
_: 1
|
|
}, 8, ["title"]);
|
|
};
|
|
}
|
|
});
|
|
const _404 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d9aac4a9"]]);
|
|
export {
|
|
_404 as default
|
|
};
|