mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-06 23:25:06 +08:00
refactor: vue3
This commit is contained in:
@ -294,3 +294,9 @@ export default defineComponent({
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
:deep(.el-button.is-text) {
|
||||
margin-left: 0;
|
||||
padding: 8px 10px;
|
||||
}
|
||||
</style>
|
||||
|
@ -29,7 +29,7 @@ const router = createRouter({
|
||||
scrollBehavior: () => ({ left: 0, top: 0 })
|
||||
})
|
||||
|
||||
// 路由白名单
|
||||
// 路由不重定向白名单
|
||||
const whiteList = [
|
||||
'/login',
|
||||
'/social-login',
|
||||
@ -96,7 +96,6 @@ export const resetRouter = (): void => {
|
||||
router.hasRoute(name) && router.removeRoute(name)
|
||||
}
|
||||
})
|
||||
routes: remainingRouter as RouteRecordRaw[]
|
||||
}
|
||||
|
||||
export const setupRouter = (app: App<Element>) => {
|
||||
|
@ -79,7 +79,7 @@ const crudSchemas = reactive<CrudSchema[]>([
|
||||
},
|
||||
{
|
||||
field: 'action',
|
||||
width: '400px',
|
||||
width: '500px',
|
||||
label: t('table.action'),
|
||||
form: {
|
||||
show: false
|
||||
|
Reference in New Issue
Block a user