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

A cross-platform framework using Vue.js

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

**问题描述** [问题描述:尽可能简洁清晰地把问题描述清楚] uniapp pages.json 里面的路由变化,如 1.0 版本登录路由是"pages/login/login" ,2.0版本修订为 ”pages/login/index",1.0 到2.0 安卓通过 wgt 升级,升级完后白屏,如果是基座一起,apk 升级,不会白屏(IOS,wgt 升级不会白屏) **预期结果** [使用简洁清晰的语言描述你希望生效的预期结果] 变化已有路由地址,wgt 升级不会白屏 **实际结果** [这里请贴上你的报错截图或文字] 白屏 **系统信息:** - 发行平台: [如 微信小程序、H5平台、5+ App等] APP -...

使用vue3的 hooks,h5正常编译到微信小程序报错

根据文档[hidehomebutton](https://uniapp.dcloud.net.cn/api/ui/navigationbar.html#hidehomebutton ),此API不支持 `H5` 版本:`3.0.0-alpha-4010920240606001`

h5
uni api

基本类型无法正常渲染,但引用类型可以 ``` vue const stringEx = 'Hello There' const objectEx = { name: '张三' } {{ stringEx }} {{ objectEx.name }} ``` 版本:3.0.0-alpha-4010920240606001

vue3

### 代码如图 ![微信截图_20240628093949](https://github.com/dcloudio/uni-app/assets/108981701/e7c260c0-cb4c-4588-8152-f3935c893fc9) ![微信截图_20240628094008](https://github.com/dcloudio/uni-app/assets/108981701/f57a3faa-dba5-4a46-b646-c59f08548e98) ### 官方文档有写这个配置项 ![微信截图_20240628100032](https://github.com/dcloudio/uni-app/assets/108981701/ae92fa67-f3eb-43d5-b62d-062235039a6b) ### 但出来的效果依旧是默认值+号 ![微信截图_20240628101203](https://github.com/dcloudio/uni-app/assets/108981701/f41dd1e0-15d3-4424-ae7b-c73f23df86f1) 该如何写这个配置项才能生效呢

uni api

``` test test1 import { watch } from 'vue'; const emits = defineEmits(['click', 'upload']); const props = defineProps({ name: { type: String, default: 'hello' } }) function test() { emits('click');...

mp

场景:公司APP采用uni-app开发,要对接oauth2授权认证,通过/oauth2/authorize自动跳转打开登录页面,因为用了webview,貌似本质上还是iframe,会出现csp内容安全相关问题 ![image](https://github.com/dcloudio/uni-app/assets/3937109/6c0c934c-2950-4edf-a56c-7b9d30af5ad5) 目前的临时方案是在后端认证服务上关闭了内容安全策略 问题:内容安全策略在生产环境上肯定要是添加的,那么关于这个问题有没有其它的解决方案

security
uni api

hbuilderX版本:4.22.2024062415-alpha 复现demo:[toutiao-vue3-virtualhost](https://gitee.com/wot-design-uni/toutiao-vue3-virtualhost) 问题描述: 当组件开启了`virtualHost`后,运行到`mp-toutiao`平台,无法触发定义的`test`事件。 组件代码: ``` html 点我测试 export default { name: 'virtual-host-cmp', options: { addGlobalClass: true, virtualHost: true, styleIsolation: 'shared' } } const emit = defineEmits(['test']) function handleClick() {...

**问题描述** `请问如何定义组件的json数据,我想在子组件中使用 componentPlaceholder 属性` `vue文件编译后会生成一个json文件,如何在json文件中添加 componentPlaceholder 属性呢?` **复现步骤** [复现问题的步骤] 1. 启动 '...' 2. 点击 '....' 3. 查看 [或者可以直接贴源代码] **预期结果** [使用简洁清晰的语言描述你希望生效的预期结果] **实际结果** [这里请贴上你的报错截图或文字] **系统信息:** - 发行平台: [如 微信小程序、H5平台、5+ App等] - 操作系统...

报错:`"createElementVNode" is not exported by "node_modules/.pnpm/@[email protected]/node_modules/@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js"` ```ts import Icons from 'unplugin-icons/vite' export default defineConfig(async ({ mode, command }) => { return { plugins: [ Icons(), ], } }) ``` 如下使用:...

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