uni-app
uni-app copied to clipboard
A cross-platform framework using Vue.js
通过环境变量启用构建 sourcemap 方便调试,对默认命令无影响
加强小程序插件的使用 [https://uniapp.dcloud.net.cn/tutorial/mp-weixin-plugin.html](https://uniapp.dcloud.net.cn/tutorial/mp-weixin-plugin.html) 使其不仅仅能在页面级别的文件中使用,还可以在单个组件中使用。 使用方法:在组件同级目录创建同名json,json内容和 manifest.json 中一致 例子: - src - components - hello-word.vue - hello-word.json hello-word.json 内容 ```json { "component": true, "mp-weixin": { "usingComponents": { "cell": "plugin://contactPlugin/cell" } }, "mp-baidu":...
## 这里变量a的值未在渲染列表中渲染
H5`image`组件支持`lazy-load`属性
问题描述 build 后 img使用的图片使用了config.base, css中引用的静态资源没有使用config.base 预期结果 config.base 非默认值的时 build 后 img与css中引用的资源均使用config.base (#4011)
**问题描述** 从官网上新下载的 Vue3/Vite 模板, `npm run dev:h5:ssr` 直接报错,ssr模式跑都跑不起来 **复现步骤** 1. 访问 https://uniapp.dcloud.net.cn/quickstart-cli.html 2. 从 gitee 下载模板 3. npm install 4. npm run dev:h5:ssr **预期结果** 起码可以顺利运行 **实际结果** ``` error when starting...
**问题描述** 页面A(pages/index)内vfor循环组件B(member-item-with-consultant),组件B(member-item-with-consultant)内引用了组件C(member-item/index),组件C(member-item/index)引用了组件D(member-info-bar/index), 组件D提供了作用域插槽,组件C使用插槽展示内容,组件D从作用域插槽内传回的数据发生错乱 **复现步骤** 1. 启动 [uniapp-slot-problem.zip](https://github.com/dcloudio/uni-app/files/14137170/uniapp-slot-problem.zip) 2. 点击 '已经最小化复现,index页面' 3. 查看 **预期结果** 作用域插槽传回的数据案例说应该符合预期,比如截图第一条董姐,生日是1979-02-02,但传回的数据似乎是数据最后一项的,每一项数据似乎都是列表中本应对应数据的下一项 **实际结果**  **系统信息:** - 发行平台: [如 微信小程序、H5平台、5+ App等] 只测试了微信小程序 (1.06.2401020) - 操作系统 [如 iOS 12.1.2、Android 7.0]...
**问题描述** [问题描述:尽可能简洁清晰地把问题描述清楚] **复现步骤** [复现问题的步骤] 1. 启动 '...' 2. 点击 '....' 3. 查看 [或者可以直接贴源代码] **预期结果** [使用简洁清晰的语言描述你希望生效的预期结果] **实际结果** [这里请贴上你的报错截图或文字] **系统信息:** - 发行平台: [如 微信小程序、H5平台、5+ App等] - 操作系统 [如 iOS 12.1.2、Android 7.0] -...