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/401.RqeqO19C.svg"; const _sfc_main = /* @__PURE__ */ defineComponent({ ...{ name: "Page401" }, __name: "401", 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.noPermission"), "sub-title": "请确认您的权限是否满足操作要求,或者点击下方按钮返回首页。" }, { icon: withCtx(() => [..._cache[0] || (_cache[0] = [ createBaseVNode("img", { class: "min-w-[23.4375rem] sm:w-120", src: _imports_0, alt: "401" }, 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 _401 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-344964a1"]]); export { _401 as default };