uni-app
uni-app copied to clipboard
A cross-platform framework using Vue.js
### 问题分类 HBuilderX ### 问题描述 ### 描述 在 `@dcloudio/types` 版本 3.4.15 中,`uni.request` 的 `httpDNSServiceId` 被错误地标注为 `boolean` 类型。根据 UniApp 官方文档和实际使用需求,该字段应为 `string` 类型。 ### 位置 @dcloudio/types/uni-app/uni/base/request.d.ts  ### 附加信息 _No response_
**问题描述** vue3-cli ts模板中,没有报错,但是运行npm run dev:mp-weixin不编译index.js **复现步骤** [复现问题的步骤] 1. git clone https://gitee.com/ylyhappy/uni-app-vue3-ts-scss.git 2. git checkout cache 3. npm run dev:mp-weixin [或者可以直接贴源代码] **预期结果**  **实际结果**  **系统信息:** - 发行平台: 微信小程序 - 操作系统...
### 发行方式 None ### 具体平台 web H5 ### 开发环境 Windows ### 项目创建方式 CLI命令行 ### 依赖版本 v3.0.0-alpha-4060720250515001 ### 问题描述 报错内容: [vite]: Rollup failed to resolve import "@vue/devtools-api" from "/builds/apps/member-ui/node_modules/pinia/dist/pinia.mjs". This is...
更新依赖版本后,easycom无法生效,h5端报错
**问题描述** 在watchEffect中修改多个state, 父组件会显示最新的state, 子组件无法响应式变化 **复现步骤**  **预期结果** 子组件可以正常更新 **实际结果** 父组件会更新,子组件不会 **系统信息:** - 发行平台: 字节小程序 - 操作系统:Macos - HBuilderX版本 Mac 3.6.4.20220922 - uni-app版本 - 设备信息 开发工具,真机都能复现
release: v3.0.0-alpha-3060420220922001 调试过程如下 ```ts console.log(uni.getLocale()) // zh-Hans uni.setLocale('en') console.log(uni.getLocale()) // zh-Hans ``` 如果在manifest.json中配置 `locale: en`, 仍打印出zh-Hans
**问题描述** 自定义组件中使用boundingClientRect在微信小程序中返回为null **复现步骤** [复现问题的步骤] 1. 创建一个自定义组件 2. 为一个元素创建id选择器 3. 使用boundingClientRect获取该节点的信息 // testComp.js ```vue 测试组件 export default { methods: { clickMe() { let NodesRef = uni.createSelectorQuery().select("#test"); console.log("theNode", NodesRef); NodesRef.boundingClientRect((data) => {...
### 问题分类 HBuilderX ### 问题描述 const delta = { "ops": [ {insert: prefixText}, // 前缀文本,使用默认样式 { insert: `@${assistant.name_cn}`, attributes: { class: "assistant-tag", contenteditable: false, /* H5 专属 */ /* #ifdef...
### 问题分类 uni-app ### 问题描述 最近使用mapboxgl2升级3的时候 遇到个问题 An error occurred while parsing the WebWorker bundle. This is most likely due to improper transpilation by Babel; 有遇到这个问题吗 如何解决 Uncaught ReferenceError: _wrapNativeSuper...