- 企业微信里面下载视频会跳转到手机默认的外部浏览器?
企微的自建H5应用程序中场景和问题: 通过一个按钮点击,然后编写下面的代码进行mo4播放并下载,如果文件名称用encodeURI加密之后出现百分号会跳转到外部浏览器、,如果不用encodeURI编码,会正常再企微里面进行播放 问题: 请问这是为啥?有什么办法可以解决encodeURI转码之后也不跳转到外部的默认浏览器? const a = document.createElement('a') a.href ='4b3113be9bd346288a82ca26af258531_11-%D7%AA%3F%3F3.mp4' a.click() window.URL.revokeObjectURL(a.href)
2024-07-22 - 项目编译报错,找不到game.json
项目编译报错 [图片] 项目project.config.json配置文件如下 { "description": "项目配置文件。", "setting": { "urlCheck": true, "es6": true, "postcss": true, "minified": true, "newFeature": true }, "compileType": "miniprogram", "libVersion": "1.9.1", "appid": "touristappid", "projectname": "demo2", "isGameTourist": false, "condition": { "search": { "current": -1, "list": [] }, "conversation": { "current": -1, "list": [] }, "game": { "currentL": -1, "list": [] }, "miniprogram": { "current": -1, "list": [] } } } 明显我的 "compileType": "miniprogram", "isGameTourist": false, 两项配置都不是game,为啥我一启动点击编译就自动编译为游侠呢,还一直报错,求个解决方案。@管理员@大神些
2018-01-18