提交
This commit is contained in:
parent
26c4b9c17b
commit
3712c1bc4c
22
src/main.js
22
src/main.js
@ -40,17 +40,17 @@ import api from "./utils/api";
|
||||
import Axios from '@/utils/axios';
|
||||
|
||||
|
||||
// api.index().then(res => {
|
||||
// if (res.code === 200) {
|
||||
// store.state.seachTypeData = res.data.combination
|
||||
// store.state.indexData = res.data
|
||||
// store.state.ListSelectBtn = res.data.recommendedTab
|
||||
// store.state.user = res.data.user
|
||||
// store.state.nav = res.data.nav
|
||||
// store.state.wechat = res.data.wechat
|
||||
// store.state.apartment = res.data.config.apartment
|
||||
// }
|
||||
// })
|
||||
api.index().then(res => {
|
||||
if (res.code === 200) {
|
||||
store.state.seachTypeData = res.data.combination
|
||||
store.state.indexData = res.data
|
||||
store.state.ListSelectBtn = res.data.recommendedTab
|
||||
store.state.user = res.data.user
|
||||
store.state.nav = res.data.nav
|
||||
store.state.wechat = res.data.wechat
|
||||
store.state.apartment = res.data.config.apartment
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
const app = createApp(App)
|
||||
|
Loading…
x
Reference in New Issue
Block a user