mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 07:36:44 +08:00
顺序发送接口
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import axios from 'axios'
|
||||
import { Dialog, Toast } from 'vant'
|
||||
import { device } from '@/assets/js/business-common.js'
|
||||
import BusinessCommon from '@/assets/js/business-common.js'
|
||||
let proposal = [
|
||||
'/proposal/proposal/list',
|
||||
'/proposal/proposal/toInsurance',
|
||||
@@ -124,7 +124,7 @@ service.interceptors.request.use(
|
||||
console.log('localstorage token: ', token)
|
||||
if (relativePath === '/customer/agent/info' && !token) {
|
||||
// 设备类型
|
||||
const target = device()
|
||||
const target = BusinessCommon.device()
|
||||
// 安卓or苹果
|
||||
if (target.isAndroid || target.isIphone) {
|
||||
// eslint-disable-next-line no-undef
|
||||
|
||||
@@ -158,9 +158,9 @@ export default {
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getAgentInfo()
|
||||
this.getTableData()
|
||||
async created() {
|
||||
await this.getAgentInfo()
|
||||
await this.getTableData()
|
||||
},
|
||||
methods: {
|
||||
async getTableData() {
|
||||
@@ -179,7 +179,7 @@ export default {
|
||||
window.EWebBridge.webCallAppInJs('updateWebHeight', {
|
||||
width,
|
||||
height,
|
||||
isLoadMore: this.isLoadMore
|
||||
isLoadMore: this.idMoreDataShow
|
||||
})
|
||||
})
|
||||
},
|
||||
@@ -199,7 +199,7 @@ export default {
|
||||
window.EWebBridge.webCallAppInJs('updateWebHeight', {
|
||||
width,
|
||||
height,
|
||||
isLoadMore: this.isLoadMore
|
||||
isLoadMore: this.idMoreDataShow
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user