feature: add global size option (#1024)

This commit is contained in:
花裤衩
2018-08-29 15:24:47 +08:00
committed by GitHub
parent 5bbb4abe21
commit 0fbda3c8c7
11 changed files with 112 additions and 6 deletions

View File

@@ -0,0 +1,11 @@
<script>
export default {
beforeCreate() {
const path = this.$route.params.path
this.$router.replace('/' + path)
},
render: function(h) {
return h() // avoid warning message
}
}
</script>