35 lines
461 B
Vue
35 lines
461 B
Vue
|
|
<template>
|
||
|
|
<view>
|
||
|
|
<food></food>
|
||
|
|
</view>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
import {
|
||
|
|
mapState
|
||
|
|
} from "vuex";
|
||
|
|
import food from "@/components/foodIndex/foodHome.vue"
|
||
|
|
export default {
|
||
|
|
data() {
|
||
|
|
return {}
|
||
|
|
},
|
||
|
|
components: {
|
||
|
|
food,
|
||
|
|
},
|
||
|
|
computed: {
|
||
|
|
...mapState(["user", "countFoodInfo"]),
|
||
|
|
foodInfo() {
|
||
|
|
return this.countFoodInfo
|
||
|
|
}
|
||
|
|
},
|
||
|
|
onLoad(options) {
|
||
|
|
let that = this
|
||
|
|
},
|
||
|
|
methods: {
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style scoped lang="scss">
|
||
|
|
|
||
|
|
</style>
|