z***@email.cn
z***@email.cn
  • 发布:2021-11-30 17:55
  • 更新:2022-12-17 17:51
  • 阅读:770

【报Bug】uni.setClipboardData API调用会调起手机键盘 在H5下

分类:uni-app

产品分类: uniapp/H5

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: W11

HBuilderX类型: Alpha

HBuilderX版本号: 3.2.16

浏览器平台: 微信内置浏览器

项目创建方式: HBuilderX

操作步骤:

如题

预期结果:

如题

实际结果:

如题

bug描述:

如题

2021-11-30 17:55 负责人:无 分享
已邀请:
DCloud_UNI_LXH

DCloud_UNI_LXH

问题已确认,已加分。预计下版修复

DCloud_UNI_LXH

DCloud_UNI_LXH

alpha 3.3.1 已修复

  • L***@163.com

    企业微信内置的浏览器也有这个问题,请问怎么解决?

    "@dcloudio/uni-h5": "^2.0.0-alpha-31920210715002",

    2022-06-01 10:19

  • DCloud_UNI_LXH

    回复 L***@163.com: 建议升级至新版重试

    2022-06-02 14:08

  • L***@163.com

    回复 DCloud_UNI_LXH: 单独升级@dcloudio/uni-h5到2.0.1-alpha-33120211214001这个版本,会报错 locale.trim is not a function

    2022-06-06 15:44

  • DCloud_UNI_LXH

    回复 L***@163.com: 贴具体错误信息

    2022-06-07 10:18

  • L***@163.com

    回复 DCloud_UNI_LXH: chunk-vendors.js:27007 Uncaught TypeError: locale.trim is not a function

    at normalizeLocale (chunk-vendors.js:27007:19)

    at I18n.setLocale (chunk-vendors.js:27071:21)

    at new I18n (chunk-vendors.js:27058:10)

    at initVueI18n (chunk-vendors.js:27141:14)

    at Object.a6b0 (chunk-vendors.js:19862:39)

    at n (chunk-vendors.js:1488:19)

    at Module.b501 (chunk-vendors.js:21430:15)

    at n (chunk-vendors.js:1488:19)

    at r (chunk-vendors.js:3547:16)

    at chunk-vendors.js:22860:26

    2022-06-07 16:54

  • L***@163.com

    回复 DCloud_UNI_LXH: 麻烦大佬看一下,这是报错信息

    2022-06-07 16:55

  • DCloud_UNI_LXH

    回复 L***@163.com: 运行在哪儿?直接运行就报错了?

    2022-06-08 10:00

  • L***@163.com

    回复 DCloud_UNI_LXH: 是的,本地编译结束之后,在浏览器上浏览,就会报错,页面也不会加载出来

    2022-06-09 13:38

  • L***@163.com

    回复 DCloud_UNI_LXH: "@dcloudio/uni-app-plus": "^2.0.0-31920210709003",

    "@dcloudio/uni-h5": "^2.0.1-alpha-33120211214001",

    "@dcloudio/uni-helper-json": "*",

    "@dcloudio/uni-i18n": "^2.0.0-31920210709003",

    "@dcloudio/uni-mp-360": "^2.0.0-31920210709003",

    "@dcloudio/uni-mp-alipay": "^2.0.0-31920210709003",

    "@dcloudio/uni-mp-baidu": "^2.0.0-31920210709003",

    "@dcloudio/uni-mp-kuaishou": "^2.0.0-31920210709003",

    "@dcloudio/uni-mp-qq": "^2.0.0-31920210709003",

    "@dcloudio/uni-mp-toutiao": "^2.0.0-31920210709003",

    "@dcloudio/uni-mp-vue": "^2.0.0-31920210709003",

    "@dcloudio/uni-mp-weixin": "^2.0.0-31920210709003",

    "@dcloudio/uni-quickapp-native": "^2.0.0-31920210709003",

    "@dcloudio/uni-quickapp-webview": "^2.0.0-31920210709003",

    "@dcloudio/uni-stat": "^2.0.0-31920210709003",

    "@dcloudio/uni-ui": "^1.3.7",

    2022-06-09 13:40

DCloud_UNI_LXH

DCloud_UNI_LXH

https://github.com/dcloudio/uni-app/issues/3569

hanjinyu

hanjinyu - 个人开发者

uni.setClipboardData 调用这个API,还是会调起手机键盘,请问这个有解决方法吗?

要回复问题请先登录注册