mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
提交im 优化app 中余额支付
This commit is contained in:
@@ -5,9 +5,13 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import configs from "@/config/config";
|
||||
import storage from "@/utils/storage";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
configs,
|
||||
storage,
|
||||
webviewStyles: {
|
||||
progress: {
|
||||
color: this.$lightColor,
|
||||
@@ -17,7 +21,12 @@ export default {
|
||||
};
|
||||
},
|
||||
onLoad(params) {
|
||||
this.src = decodeURIComponent(params.src);
|
||||
params.IM
|
||||
? (this.src = `${configs.imWebSrc}?token=${storage.getAccessToken()}&id=${
|
||||
params.IM
|
||||
}`)
|
||||
: (this.src = decodeURIComponent(params.src));
|
||||
console.log(this.src);
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@@ -29,4 +38,4 @@ export default {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user