Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
12548b0a
authored
Apr 14, 2024
by
jason
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/bpm' of
https://gitee.com/yudaocode/yudao-ui-admin-vue3
into feature/bpm
parents
cfc00033
4b2ff9f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
src/directives/index.ts
+3
-3
src/store/modules/simpleWorkflow.ts
+1
-0
No files found.
src/directives/index.ts
View file @
12548b0a
...
@@ -10,16 +10,16 @@ import { hasPermi } from './permission/hasPermi'
...
@@ -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
()
}
}
})
})
}
}
src/store/modules/simpleWorkflow.ts
View file @
12548b0a
// TODO @jason:这个放到 store/modules/bpm/simpleWorkflow.ts
import
{
store
}
from
'../index'
import
{
store
}
from
'../index'
import
{
defineStore
}
from
'pinia'
import
{
defineStore
}
from
'pinia'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment