Skip to content

Commit

Permalink
chore: upgrade vue
Browse files Browse the repository at this point in the history
  • Loading branch information
Linkontoask committed Mar 2, 2021
1 parent 28d3a2f commit d3f4544
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
],
"dependencies": {
"core-js": "^3.6.5",
"vue": "^3.0.2",
"vue": "^3.0.5",
"vue-router": "^4.0.0-0",
"vuex": "^4.0.0-0"
},
Expand Down Expand Up @@ -90,7 +90,7 @@
"@vue/cli-plugin-unit-mocha": "~4.5.0",
"@vue/cli-plugin-vuex": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"@vue/compiler-sfc": "^3.0.0-0",
"@vue/compiler-sfc": "^3.0.5",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^5.0.2",
"@vue/test-utils": "^2.0.0-0",
Expand Down
2 changes: 1 addition & 1 deletion src/components-business/fly/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const instance = function(config: Config) {
onMounted(() => {
if (fly.value && fly.value.$el) {
fly.value.$el.addEventListener('transitionend', () => {
app.unmount(div)
app.unmount()
if (div.parentNode) {
div.parentNode.removeChild(div)
}
Expand Down
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const create = (appFunction: App<Element>) => {
document.body.appendChild(div)
appFunction.mixin({
unmounted() {
appFunction.unmount(div)
appFunction.unmount()
}
})
appFunction.mount(div)
Expand Down

0 comments on commit d3f4544

Please sign in to comment.