1
0
mirror of https://github.com/fumiama/paper-manager.git synced 2026-06-11 19:50:24 +08:00

edit roles

This commit is contained in:
源文雨
2023-03-13 21:25:03 +08:00
parent c821776891
commit 4116f971f7
4 changed files with 14 additions and 8 deletions

View File

@@ -57,7 +57,7 @@
import { useGlobSetting } from '/@/hooks/setting'
import { useI18n } from '/@/hooks/web/useI18n'
import { useDesign } from '/@/hooks/web/useDesign'
import { useLocaleStore } from '/@/store/modules/locale'
// import { useLocaleStore } from '/@/store/modules/locale'
defineProps({
sessionTimeout: {
@@ -68,8 +68,8 @@
const globSetting = useGlobSetting()
const { prefixCls } = useDesign('login')
const { t } = useI18n()
const localeStore = useLocaleStore()
const showLocale = localeStore.getShowPicker
// const localeStore = useLocaleStore()
// const showLocale = localeStore.getShowPicker
const title = computed(() => globSetting?.title ?? '')
</script>
<style lang="less">

View File

@@ -114,5 +114,5 @@ function createRule(message: string) {
message,
trigger: 'change',
},
]
] as RuleObject[]
}