You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
425 B

1 year ago
import type { App } from 'vue'
import { hasRole } from './permission/hasRole'
import { hasPermi } from './permission/hasPermi'
import { clientTable } from './permission/clientTable'
1 year ago
/**
* v-xxx
* @methods hasRole 用法: v-hasRole
* @methods hasPermi 用法: v-hasPermi
*/
export const setupAuth = (app: App<Element>) => {
hasRole(app)
hasPermi(app)
clientTable(app)
1 year ago
}