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