feat: fusebox updates + vue-component-plugin
This commit is contained in:
1 parent
501f0a9a53
commit
2be7f71be8
8 files changed
+169
-155
No files matched your search
@@ -5,20 +5,19 @@
|
||||
span {{ msg }}
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'page-loader',
|
||||
props: ['text'],
|
||||
data () {
|
||||
return {}
|
||||
},
|
||||
computed: {
|
||||
msg () { return this.$store.state.pageLoader.msg },
|
||||
isShown () { return this.$store.state.pageLoader.shown }
|
||||
},
|
||||
mounted() {
|
||||
this.$store.commit('pageLoader/msgChange', this.text)
|
||||
}
|
||||
<script type='js'>
|
||||
export default {
|
||||
name: 'page-loader',
|
||||
props: ['text'],
|
||||
data () {
|
||||
return {}
|
||||
},
|
||||
computed: {
|
||||
msg () { return this.$store.state.pageLoader.msg },
|
||||
isShown () { return this.$store.state.pageLoader.shown }
|
||||
},
|
||||
mounted() {
|
||||
this.$store.commit('pageLoader/msgChange', this.text)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in new issue
Block a user