1***@qq.com
1***@qq.com
  • 发布:2024-07-26 10:29
  • 更新:2024-07-26 11:29
  • 阅读:149

uniapp vue3+ts的项目启动没有问题,修改文件后保存出现了编译问题。

分类:uni-app

开始差量编译...

[plugin:commonjs] Transform failed with 1 error:

/Users/shaofuwang/Desktop/wulian/farming-society-wechat/src/pages/user/index.vue?vue&type=script&setup=true&lang.ts:2:8: ERROR: Expected ">" but found "class"

at pages/user/index.vue:2:8

Expected ">" but found "class"

1 | <template>

2 | <view class="user">

| ^

3 | <!-- <u-button type="primary" text="我的设置" @click="userSettings"></u-button> -->

4 | <u-cell-group :customStyle="{ backgroundColor: '#fff' }">

2024-07-26 10:29 负责人:无 分享
已邀请:

要回复问题请先登录注册