Explorar o código

Merge branch 'feature/bpm' of https://gitee.com/yudaocode/yudao-ui-admin-vue3 into feature/bpm

jason hai 1 ano
pai
achega
12548b0af2
Modificáronse 2 ficheiros con 4 adicións e 3 borrados
  1. 3 3
      src/directives/index.ts
  2. 1 0
      src/store/modules/simpleWorkflow.ts

+ 3 - 3
src/directives/index.ts

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

+ 1 - 0
src/store/modules/simpleWorkflow.ts

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