vue+antd 后台管理框架
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
332 B

<template>
<div id="app">
6 years ago
<router-view/>
</div>
</template>
<script>
import enquireScreen from './utils/device'
export default {
name: 'App',
created () {
let _this = this
enquireScreen(isMobile => {
_this.$store.commit('setting/setDevice', isMobile)
})
}
}
</script>
<style lang="less">
</style>