Upgrade to Vue CLI 3 / Webpack 4 (#22)
Fixes #19
This commit was merged in pull request #22.
This commit is contained in:
committed by
GitHub
parent
ee9326d7a5
commit
334710065c
@@ -29,7 +29,7 @@ export default {
|
||||
Navigation
|
||||
},
|
||||
data () {
|
||||
return { version }
|
||||
return {}
|
||||
},
|
||||
mounted () {
|
||||
this.$refs.toast.setOptions({ position: 'bottom right' })
|
||||
@@ -37,6 +37,9 @@ export default {
|
||||
computed: {
|
||||
toast () {
|
||||
return this.$refs.toast
|
||||
},
|
||||
version () {
|
||||
return version.endsWith('.0') ? version.substr(0, version.length - 2) : version
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user