bug
This commit is contained in:
@@ -77,6 +77,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
...mapActions(['injectJWeixin']),
|
||||||
emitReachBottom() {
|
emitReachBottom() {
|
||||||
this.current = this.current + 1;
|
this.current = this.current + 1;
|
||||||
this.getList()
|
this.getList()
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import Vuex from 'vuex'
|
|||||||
import perState from 'vuex-persistedstate'
|
import perState from 'vuex-persistedstate'
|
||||||
import http from '../common/axios'
|
import http from '../common/axios'
|
||||||
import CryptoJS from '../utils/crypto-js'
|
import CryptoJS from '../utils/crypto-js'
|
||||||
|
import qs from 'qs'
|
||||||
|
|
||||||
Vue.use(Vuex)
|
Vue.use(Vuex)
|
||||||
let agentSignURL = "", apiList = []
|
let agentSignURL = "", apiList = []
|
||||||
@@ -240,7 +241,14 @@ const store = new Vuex.Store({
|
|||||||
return Promise.resolve()
|
return Promise.resolve()
|
||||||
} else {
|
} else {
|
||||||
agentSignURL = url
|
agentSignURL = url
|
||||||
params = params || {corpId, suiteId}
|
console.log(qs.parse(location.search))
|
||||||
|
if (qs.parse(location.search)?.corpId) {
|
||||||
|
params = {
|
||||||
|
corpId: qs.parse(location.search).corpId
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
params = params || {corpId, suiteId}
|
||||||
|
}
|
||||||
return http.post("/app/wxcptp/portal/agentSign", null, {
|
return http.post("/app/wxcptp/portal/agentSign", null, {
|
||||||
params: {...params, url}
|
params: {...params, url}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
|||||||
Reference in New Issue
Block a user