Commit edcf5521 authored by 吴冠's avatar 吴冠

?

parent e46fac65
......@@ -15,7 +15,7 @@
<img src="~/assets/css/7.png" v-show="!showDefault">
</div>
<div class="login-title">{{userName}}</div>
<div class="login-button" @click="loginuser" v-show="showDefault">用户登录</div>
<div class="login-button" @click="loginuser" v-show="showDefault">用户登录?</div>
<div class="login-button" @click="Merchant">商家入驻</div>
<div class="login-button" @click="checkout" v-show="!showDefault">退出</div>
</div>
......
......@@ -95,19 +95,25 @@ export default {
citySelect,
dataTable
},
/* async mounted(){
/* mounted(){
let message={};
message.size=10
message.currentPage=1
getInquiryList(message);
industryList();
},
async asyncData(){
const {data,total} = await getInquiryList(params)
}, */
/* async asyncData({params,route,error}){
console.log(route)
let message = {}
message.size =10
message.currentPage = 1
const res =await industryList();
const [data,total] = await getInquiryList(message)
console.log(data+'------------')
return {
priceList = data,
total = total
priceList : data,
total : total,
industryOptions:res
}
console.log(11111111111111)
......
......@@ -76,9 +76,6 @@ export default {
async getWindetails(id){
const {data} = await getWindetails(id)
console.log(id)
this.itemTitle = data.title
this.itemCode = data.projectId
this.itemTime = data.createTime
},
},
}
......
......@@ -90,7 +90,7 @@ service.interceptors.response.use(
error => {
console.log(error+'--------------------------------')
//如果不在首页 不验证token信息
if(error.response.status == 401){
if(error.response.code == 401){
/* console.log(error+'++++++++++++++++++++++++')
console.log(error.response.status+'--------------------')
//获取首页token验证时传递的特殊参数值
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment