bpm:code review 钉钉流程设计器

This commit is contained in:
YunaiV 2024-04-08 22:51:24 +08:00
parent 11b7cf32ca
commit 4b2ff9f614
2 changed files with 4 additions and 3 deletions

View File

@ -10,16 +10,16 @@ import { hasPermi } from './permission/hasPermi'
export const setupAuth = (app: App<Element>) => { export const setupAuth = (app: App<Element>) => {
hasRole(app) hasRole(app)
hasPermi(app) hasPermi(app)
} }
// TODO @jason拼写是不是 Focus 聚焦?
/** /**
* v-mountedFoucs * v-mountedFoucs
*/ */
export const setupMountedFoucs = (app: App<Element>) => { export const setupMountedFoucs = (app: App<Element>) => {
app.directive('mountedFoucs', { app.directive('mountedFoucs', {
mounted(el) { mounted(el) {
el.focus(); el.focus()
} }
}) })
} }

View File

@ -1,3 +1,4 @@
// TODO @jason这个放到 store/modules/bpm/simpleWorkflow.ts
import { store } from '../index' import { store } from '../index'
import { defineStore } from 'pinia' import { defineStore } from 'pinia'