Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-baoshen-pc
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
何远江
topsun-baoshen-pc
Commits
330ace2f
Commit
330ace2f
authored
Nov 03, 2023
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加mitt 插件
parent
ee873212
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
package-lock.json
package-lock.json
+6
-0
package.json
package.json
+1
-0
eventBus.ts
src/utils/eventBus.ts
+5
-0
No files found.
package-lock.json
View file @
330ace2f
...
...
@@ -15,6 +15,7 @@
"dayjs"
:
"^1.11.10"
,
"install"
:
"^0.13.0"
,
"lodash-es"
:
"^4.17.21"
,
"mitt"
:
"^3.0.1"
,
"npm"
:
"^9.8.1"
,
"pinia"
:
"^2.1.4"
,
"pinia-plugin-persistedstate"
:
"^3.2.0"
,
...
...
@@ -5041,6 +5042,11 @@
"integrity"
:
"sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA=="
,
"dev"
:
true
},
"node_modules/mitt"
:
{
"version"
:
"3.0.1"
,
"resolved"
:
"https://registry.npmmirror.com/mitt/-/mitt-3.0.1.tgz"
,
"integrity"
:
"sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw=="
},
"node_modules/mixin-deep"
:
{
"version"
:
"1.3.2"
,
"resolved"
:
"https://registry.npmmirror.com/mixin-deep/-/mixin-deep-1.3.2.tgz"
,
...
...
package.json
View file @
330ace2f
...
...
@@ -19,6 +19,7 @@
"
dayjs
"
:
"^1.11.10"
,
"
install
"
:
"^0.13.0"
,
"
lodash-es
"
:
"^4.17.21"
,
"
mitt
"
:
"^3.0.1"
,
"
npm
"
:
"^9.8.1"
,
"
pinia
"
:
"^2.1.4"
,
"
pinia-plugin-persistedstate
"
:
"^3.2.0"
,
...
...
src/utils/eventBus.ts
0 → 100644
View file @
330ace2f
import
mitter
from
'mitt'
const
mitt
=
mitter
()
export
default
mitt
\ No newline at end of file
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