37 lines
939 B
Vue
37 lines
939 B
Vue
<script>
|
|
import { onMounted } from "vue";
|
|
import { renderSlot } from "vue";
|
|
import { createCommentVNode } from "vue";
|
|
import { computed } from "vue";
|
|
import { unref } from "vue";
|
|
import { defineComponent } from "vue";
|
|
import { t as useSiteConfig_t } from "~/lib/useSiteConfig.js";
|
|
var s = Object.assign(
|
|
defineComponent({
|
|
__name: `OperatePasswordGate`,
|
|
setup(a) {
|
|
let { config: s, load: c } = useSiteConfig_t(),
|
|
l = computed(
|
|
() =>
|
|
Array.isArray(s.value?.home_enforce_safe_method) &&
|
|
s.value.home_enforce_safe_method.includes(`operate_password`),
|
|
);
|
|
return (
|
|
onMounted(() => {
|
|
c();
|
|
}),
|
|
(e, r) =>
|
|
unref(l)
|
|
? renderSlot(e.$slots, `default`, {}, void 0, void 0, 0)
|
|
: createCommentVNode(``, !0)
|
|
);
|
|
},
|
|
}),
|
|
{
|
|
__name: `OperatePasswordGate`,
|
|
},
|
|
);
|
|
export {};
|
|
export default s;
|
|
</script>
|