| | |
| | | import zhCn from 'element-plus/dist/locale/zh-cn.mjs'; |
| | | // import { mapState } from 'pinia'; |
| | | import { useUKeyStore } from '@/store/ukey.js'; |
| | | import { useAppStore } from '@/store/app.js'; |
| | | |
| | | const appStore = useAppStore(); |
| | | const ukeyStore = useUKeyStore(); |
| | | |
| | | const { size } = storeToRefs(appStore); |
| | | const { isIn, connect } = storeToRefs(ukeyStore); |
| | | const { checkIsIn, changeId, load } = ukeyStore; |
| | | |
| | | const zIndex = ref(3000); |
| | | const locale = ref(zhCn); |
| | | watchEffect(() => { |
| | | changeId(isIn.value); |
| | | checkIsIn(connect.value); |
| | |
| | | }); |
| | | </script> |
| | | |
| | | <style lang="less"> |
| | | <style lang="scss"> |
| | | @use "@/styles/element/index.scss"; |
| | | |
| | | html, |
| | | body, |