1.0发布,Fixes Bug,以及新增 ProTable组件

This commit is contained in:
Ah jung
2021-07-12 16:16:51 +08:00
parent d423f27e94
commit 1e9b7074e5
43 changed files with 1375 additions and 65 deletions

View File

@@ -214,7 +214,7 @@ export default defineComponent({
watch(
() => designStore.darkTheme,
(to) => {
settingStore.navTheme = to ? 'header-dark': 'dark'
settingStore.navTheme = to ? 'header-dark' : 'dark'
}
)

View File

@@ -139,7 +139,7 @@ export default defineComponent({
const getChangeStyle = computed(() => {
const { collapsed } = props
const { minMenuWidth, menuWidth }:any = unref(getMenuSetting)
const { minMenuWidth, menuWidth }: any = unref(getMenuSetting)
return {
'left': collapsed ? `${ minMenuWidth }px` : `${ menuWidth }px`,
'width': `calc(100% - ${ collapsed ? `${ minMenuWidth }px` : `${ menuWidth }px` })`
@@ -165,7 +165,10 @@ export default defineComponent({
return currentMenu
})
}
const breadcrumbList: any = generator(route.matched)
const breadcrumbList = computed(() => {
return generator(route.matched)
})
const dropdownSelect = (key) => {
router.push({ name: key })