Skip to content

🐛 [Bug]: 导出和预览全部报错:SyntaxError: unknown: Unexpected token, expected "from", 已经测试多个版本 #1563

@aleivip

Description

@aleivip

Environment

Chrome

Version

v20.18.3

Version

1.7.110.8.2

Link to minimal reproduction

使用Git测试了多个版本, 都会报错. 后端使用的java服务器.
出码后生成的代码导包的时候采用的语法是
import ButtonGroup as TinyButtonGroup from "@opentiny/vue"

应当为
import { ButtonGroup as TinyButtonGroup } from "@opentiny/vue"

是我用的分支不对吗?最新版后端和前端代码分别应该用哪个分支

Step to reproduce

使用Git测试了多个版本, 都会报错. 后端使用的java服务器.
出码后生成的代码导包的时候采用的语法是
import ButtonGroup as TinyButtonGroup from "@opentiny/vue"

应当为
import { ButtonGroup as TinyButtonGroup } from "@opentiny/vue"

是我用的分支不对吗?最新版后端和前端代码分别应该用哪个分支

What is expected

No response

What is actually happening

No response

What is your project name

ggc-admin

Any additional comments (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions