这是在微信开发者工具里的效果 [图片][图片] 上线后,就是一直转圈,登陆不了
小程序上线后任何账号都不能登陆[图片] 在微信开发者工具里可以登陆,上线就登陆不上了,不知道为什么?
2023-04-25PDF地址:https://yolide.oss-cn-shanghai.aliyuncs.com/1680759941630_430105(2023-02-27~2023-03-05).pdf
在微信小程序里打不开PDF,用微信开发工具测试的时候是可以打开的,不知道要怎么修改代码?[图片][图片] <web-view :src="url"></web-view> export default { data() { return { name: 'PDF', url: '', fileName:'', } }, onLoad() { this.name = this.$Route.query.name; this.fileName = this.$Route.query.fileName; //alert(this.name+"---"+this.fileName); uni.setNavigationBarTitle({ title: this.name }) this.getUrl(); }, methods: { getUrl() { this.url = 'https://yolide.oss-cn-shanghai.aliyuncs.com/'+encodeURIComponent(this.fileName); console.log(this.url); // } } }
2023-04-06