import { defineComponent, ref, mergeProps, unref, useSSRContext } from "vue"; import { ssrRenderAttrs, ssrRenderList, ssrRenderClass, ssrInterpolate, ssrIncludeBooleanAttr } from "vue/server-renderer"; import { u as usePlatformAuth } from "./usePlatformAuth-DS6-BJES.js"; import "/home/akoo/居家服务/hss-home-service/website/node_modules/hookable/dist/index.mjs"; import "../server.mjs"; import "/home/akoo/居家服务/hss-home-service/website/node_modules/ofetch/dist/node.mjs"; import "#internal/nuxt/paths"; import "/home/akoo/居家服务/hss-home-service/website/node_modules/unctx/dist/index.mjs"; import "/home/akoo/居家服务/hss-home-service/website/node_modules/h3/dist/index.mjs"; import "vue-router"; import "/home/akoo/居家服务/hss-home-service/website/node_modules/defu/dist/defu.mjs"; import "/home/akoo/居家服务/hss-home-service/website/node_modules/ufo/dist/index.mjs"; const _sfc_main = /* @__PURE__ */ defineComponent({ __name: "login", __ssrInlineRender: true, setup(__props) { const { PRESET_USERS } = usePlatformAuth(); const selected = ref("admin"); const loading = ref(false); const error = ref(""); return (_ctx, _push, _parent, _attrs) => { _push(`
H

智慧医养居家上门服务平台

演示环境 — 选择角色即可登录

`); ssrRenderList(unref(PRESET_USERS), (u, k) => { _push(``); }); _push(`
`); if (error.value) { _push(`

${ssrInterpolate(error.value)}

`); } else { _push(``); } _push(`${ssrInterpolate(loading.value ? "登录中..." : "进入平台")}

演示环境使用 Header 认证,无需密码。选择角色后直接进入对应工作台。

`); }; } }); const _sfc_setup = _sfc_main.setup; _sfc_main.setup = (props, ctx) => { const ssrContext = useSSRContext(); (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("pages/platform/login.vue"); return _sfc_setup ? _sfc_setup(props, ctx) : void 0; }; export { _sfc_main as default }; //# sourceMappingURL=login-Bp9OHacV.js.map