tiny-engine icon indicating copy to clipboard operation
tiny-engine copied to clipboard

🐛 [Bug]: 在使用TinyGrid表格后预览后提示出错import Grid as TinyGrid from "@opentiny/vue",出码后检查页面代码发现缺少{ },正确出码应为import { Grid as TinyGrid } from '@opentiny/vue'

Open LemonYaoCW opened this issue 5 months ago • 2 comments

Environment

使用tinyengine 2.6版本出这样的问题,以前用的2.2版本不会

Version

node v20.18.0

Version

@opentiny/vue latest

Link to minimal reproduction

如题

Step to reproduce

如题

What is expected

No response

What is actually happening

No response

What is your project name

Lemon

Any additional comments (optional)

No response

LemonYaoCW avatar Jul 01 '25 09:07 LemonYaoCW

哎,这社区没啥活跃度,问个问题麻烦的很。 你这个,直接在数据库里面把components里面对应组件的拆包配置改下,加上,"destructuring":true

stefli avatar Jul 08 '25 00:07 stefli

Bot detected the issue body's language is not English, translate it automatically.


Alas, this community is not very active, so it is very troublesome to ask a question. For this, you can directly change the unpacking configuration of the corresponding components in the database, and add "destructuring":true

Issues-translate-bot avatar Jul 08 '25 00:07 Issues-translate-bot