This commit is contained in:
邓晓坤
2019-09-25 16:53:12 +08:00
parent 9079b0a3ca
commit 93de0d5db7
3 changed files with 6 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ service.interceptors.request.use(
} }
config.headers['token'] = window.localStorage.getItem('token') config.headers['token'] = window.localStorage.getItem('token')
// config.headers['token'] = `507e5ff426364e95b22cd4c1e22f427f` // config.headers['token'] = ``
return config return config
}, },
error => { error => {

View File

@@ -217,7 +217,6 @@ export default {
delete i.extra2 delete i.extra2
delete i.show delete i.show
}) })
// console.log(item.impartType)
financeImpartDTO = item financeImpartDTO = item
return financeImpartDTO return financeImpartDTO
} else if (item.impartType == '1') { } else if (item.impartType == '1') {
@@ -256,15 +255,7 @@ export default {
} }
saveInformation(data).then(res => { saveInformation(data).then(res => {
if (res.result == '0') { if (res.result == '0') {
// that.$jump({
// flag: 'h5',
// extra: {
// url: location.origin + '/#/sale/accountInformation'
// },
// routerInfo: {
// path: '/sale/accountInformation'
// }
// })
} else { } else {
this.$toast(res.resultMessage) this.$toast(res.resultMessage)
} }

View File

@@ -3,6 +3,7 @@
<div id="pdf"></div> <div id="pdf"></div>
<div @click="click">111</div> <div @click="click">111</div>
<div @click="next">xiayibu</div> <div @click="next">xiayibu</div>
<div @click="token">tokentoken</div>
</div> </div>
</template> </template>
@@ -16,6 +17,9 @@ export default {
} }
}, },
methods: { methods: {
token(){
localStorage.setItem('token','507e5ff426364e95b22cd4c1e22f427f')
},
click() { click() {
let that = this let that = this
EWebBridge.webCallAppInJs('ca_sign', { EWebBridge.webCallAppInJs('ca_sign', {