51 lines
843 B
Vue
51 lines
843 B
Vue
<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>
|