first commit
This commit is contained in:
50
金壶/appV1/pages/home/shop_management.vue
Normal file
50
金壶/appV1/pages/home/shop_management.vue
Normal file
@@ -0,0 +1,50 @@
|
||||
<template>
|
||||
<view class="shop_management">
|
||||
很好
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import {Config} from "@/utils/config.js"
|
||||
//import shop from "@/utils/models/shop.js";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
shopInfo: [],
|
||||
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
//this.get_shopInfo()
|
||||
|
||||
},
|
||||
mounted() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
// 退出登录
|
||||
login_out(){
|
||||
// 清除config的token
|
||||
Config.Authorization = ''
|
||||
// 清除缓存
|
||||
uni.clearStorage()
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/index/x_login'
|
||||
// })
|
||||
},
|
||||
//获取店铺详情
|
||||
// async get_shopInfo() {
|
||||
// let res = await shop.getIndexShopInfo()
|
||||
// this.handleError(res, res => {
|
||||
// this.shopInfo = res.data
|
||||
// Config.shop_currency = res.data.currency
|
||||
// })
|
||||
// },
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user