mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-17 04:15:07 +08:00
code review 修改
This commit is contained in:
@ -12,12 +12,11 @@ export const setupAuth = (app: App<Element>) => {
|
||||
hasPermi(app)
|
||||
}
|
||||
|
||||
// TODO @jason:拼写是不是 Focus 聚焦?
|
||||
/**
|
||||
* 导出指令:v-mountedFoucs
|
||||
* 导出指令:v-mountedFocus
|
||||
*/
|
||||
export const setupMountedFoucs = (app: App<Element>) => {
|
||||
app.directive('mountedFoucs', {
|
||||
export const setupMountedFocus = (app: App<Element>) => {
|
||||
app.directive('mountedFocus', {
|
||||
mounted(el) {
|
||||
el.focus()
|
||||
}
|
||||
|
Reference in New Issue
Block a user