提交im 优化app 中余额支付

This commit is contained in:
lemon橪
2022-04-02 18:32:01 +08:00
parent c756223363
commit 201ee840d5
5 changed files with 98 additions and 69 deletions

View File

@@ -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>