uni-app icon indicating copy to clipboard operation
uni-app copied to clipboard

A cross-platform framework using Vue.js

Results 605 uni-app issues
Sort by recently updated
recently updated
newest added

在manifest.json中配置mergeVirtualHostAttributes: true, 在微信小程序平台不生效,组件外部传入的class没有挂到组件根节点上,支付宝平台可以。除非明确地在组件中增加options: { virtualHost: true }。

mp-alipay

**问题描述** uni-app接入支付宝插件后,支付宝编辑器报错如下: `Cannot read properties of undefined (reading 'split')` mp.props['data-event-list']打印为undefind **复现步骤** 1. manifest.example.json声明插件 `"shulientry":{ "version": "*", "provider": "2021002109669336" }` 2. 对应页面使用插件 ` json: "mp-alipay": { "usingComponents": { "ad-navigate": "plugin://shulientry/adnavigate" }...

mp-alipay

**新功能描述** 微信和支付宝小程序都引入了捕获事件: https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxml/event.html#%E4%BA%8B%E4%BB%B6%E7%9A%84%E6%8D%95%E8%8E%B7%E9%98%B6%E6%AE%B5 https://opendocs.alipay.com/mini/framework/events#%E4%BA%8B%E4%BB%B6%E7%9A%84%E6%8D%95%E8%8E%B7%E9%98%B6%E6%AE%B5 可以使用 `capture-bind`(支付宝是 `capture-on`)替代 `bind` 绑定捕获阶段的事件,但是目前 uni-app 并没有支持。 并且事件的绑定需要修改模板,而目前原生小程序的模板编译在 uni-app 中是黑盒,暂时没有找到绕过的方式。 期望官方可以支持 vue 的 `.capture` modifier,支持捕获类型的事件

enhancement
mp-alipay

**问题描述** 支付宝小程序在启动页无法请求云函数 **复现步骤** ``` 点击调试 import { mapState, mapMutations } from 'vuex'; export default { data() { return {} }, computed: { ...mapState([ 'movieList', ]) }, onLoad() { setTimeout(() =>...

mp-alipay
uniCloud

在开发过程中,由于小程序大小限制,用uniapp开发很容易就超过2M限制,解决大小限制只能分包,但是分包的时候有很多组件是在分包中共享的,有各个分包中依赖共同组建的需求。所以建议增加sub-modules目录,在编译打包的时候,将内容放到各个分包的对应目录中

uni 工程问题

Cannot read property 'offsetWidth' of null TypeError: Cannot read property 'offsetWidth' of null at n (file:///storage/emulated/0/Android/data/uni.UNIB8C97E0/apps/__UNI__B8C97E0/www/uni-app-view.umd.js:1:156303) at Fa (file:///storage/emulated/0/Android/data/uni.UNIB8C97E0/apps/__UNI__B8C97E0/www/uni-app-view.umd.js:1:30354) at $a (file:///storage/emulated/0/Android/data/uni.UNIB8C97E0/apps/__UNI__B8C97E0/www/uni-app-view.umd.js:1:30431) at HTMLDivElement.n (file:///storage/emulated/0/Android/data/uni.UNIB8C97E0/apps/__UNI__B8C97E0/www/uni-app-view.umd.js:1:68283) at uni-app-view.umd.js:1

使用 solana/web3.js ,开发uni app, 但是提示 crypto.getRandomValues must be defined

三方生态问题
uniapp功能需求

不明确复现步骤、未提供复现工程
不明确 vue版本或者运行平台
uni 组件

使用pnpm集成时提示 ` WARN  1 deprecated subdependencies found: [email protected]` jimp在使用phin 建议对jimp进行适当升级即可 当前[email protected]

uni 工程问题

![54f4524ebd5f74ca0efbdc7597ec3ae2](https://github.com/dcloudio/uni-app/assets/73455910/f9b81602-39b0-49f2-a52b-db2dc739fb4d) h5的路由模式为history 在小程序中由原生跳转到h5中 在h5 跳转到小程序中,小程序操作完,更新小程序的web-view 地址, 此时会相当于重新打开了一个新的web-view 页面, 在h5中获取到参数,根据参数执行history.back() 返回上一个页面栈,进行处理,此时在ios15版本上页面白屏,发现标签都被销毁,左边是正常渲染的标签,右边是白屏的标签 在flutter ios App 也会有同样的问题

mp
h5
app
不明确 vue版本或者运行平台