From 4b2ff9f614e3253fe474833defe33d1813f4d479 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 8 Apr 2024 22:51:24 +0800 Subject: [PATCH] =?UTF-8?q?bpm=EF=BC=9Acode=20review=20=E9=92=89=E9=92=89?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E8=AE=BE=E8=AE=A1=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/directives/index.ts | 6 +++--- src/store/modules/simpleWorkflow.ts | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/directives/index.ts b/src/directives/index.ts index 8fb6ff94..91847ac0 100644 --- a/src/directives/index.ts +++ b/src/directives/index.ts @@ -10,16 +10,16 @@ import { hasPermi } from './permission/hasPermi' export const setupAuth = (app: App) => { hasRole(app) hasPermi(app) - } +// TODO @jason:拼写是不是 Focus 聚焦? /** * 导出指令:v-mountedFoucs */ -export const setupMountedFoucs= (app: App) => { +export const setupMountedFoucs = (app: App) => { app.directive('mountedFoucs', { mounted(el) { - el.focus(); + el.focus() } }) } diff --git a/src/store/modules/simpleWorkflow.ts b/src/store/modules/simpleWorkflow.ts index c7c8abd4..6c92a6b6 100644 --- a/src/store/modules/simpleWorkflow.ts +++ b/src/store/modules/simpleWorkflow.ts @@ -1,3 +1,4 @@ +// TODO @jason:这个放到 store/modules/bpm/simpleWorkflow.ts import { store } from '../index' import { defineStore } from 'pinia'