|
|
@ -118,13 +118,16 @@ |
|
|
|
app.isLoading = true |
|
|
|
app.isLoading = true |
|
|
|
Api.center() |
|
|
|
Api.center() |
|
|
|
.then(result => { |
|
|
|
.then(result => { |
|
|
|
// api数据赋值 |
|
|
|
if(result.data.length>0){ |
|
|
|
const data = result.data |
|
|
|
const data = result.data |
|
|
|
app.isDealer = data.isDealer |
|
|
|
app.isDealer = data.isDealer |
|
|
|
app.user = data.user |
|
|
|
app.user = data.user |
|
|
|
app.dealer = data.dealer |
|
|
|
app.dealer = data.dealer |
|
|
|
app.refereeName = data.refereeName |
|
|
|
app.refereeName = data.refereeName |
|
|
|
app.setting = data.setting |
|
|
|
app.setting = data.setting |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
// api数据赋值 |
|
|
|
|
|
|
|
|
|
|
|
// 设置当前页面标题 |
|
|
|
// 设置当前页面标题 |
|
|
|
app.setPageTitle() |
|
|
|
app.setPageTitle() |
|
|
|
app.isLoading = false |
|
|
|
app.isLoading = false |
|
|
|