9***@qq.com
9***@qq.com
  • 发布:2024-07-31 17:21
  • 更新:2024-08-01 11:04
  • 阅读:161

【报Bug】uni-app项目运行到手机报ERROR: Expected ">" but found "xx"

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

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

手机系统: iOS

手机系统版本号: iOS 16

手机厂商: 苹果

手机机型: ipone X

页面类型: vue

vue版本: vue3

打包方式: 云端

项目创建方式: CLI

CLI版本号: 5.0.8

操作步骤:

新建项目

预期结果:

正常运行

实际结果:

一直报错

bug描述:

vue3+vite项目,运行到h5都是正常的,打了自定义调试基座包之后运行到手机就一直报错

7:09:45.299 [plugin:commonjs] Transform failed with 1 error:  
17:09:45.315 /node_modules/uview-plus/components/u-button/u-button.vue?vue&type=script&lang.ts:4:8: ERROR: Expected ">" but found ":"  
17:09:45.325 at ../node_modules/uview-plus/components/u-button/u-button.vue:4:8  
17:09:45.336   Expected ">" but found ":"  
17:09:45.344   2  |    
17:09:45.355   3  |      <button  
17:09:45.366   4  |          :hover-start-time="Number(hoverStartTime)"  
17:09:45.376      |          ^  
17:09:45.384   5  |          :hover-stay-time="Number(hoverStayTime)"  
17:09:45.393   6  |          :form-type="formType"
2024-07-31 17:21 负责人:无 分享
已邀请:
BFC

BFC

你好,可以尝试根据 相关帖子 临时修复一下

要回复问题请先登录注册