baidu / baidu/amis

amis + vite + eggjs 手机模式预览报错

Open
#7,904 3 comments 0 reactions 0 assignees View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 描述问题:

PC模式下编辑和预览都是没问题的,手机模式下编辑和预览都报错

#### 截图或视频:

![image](https://github.com/baidu/amis/assets/20417332/206f0041-9bb9-421c-9823-51d3675338c8)
![image](https://github.com/baidu/amis/assets/20417332/217140d1-cd20-4db7-a714-b9be86ff6df8)

#### 如何复现(请务必完整填写下面内容):

1. 你是如何使用 amis 的?
![image](https://github.com/baidu/amis/assets/20417332/2d0fc727-0ee6-4f89-8221-29b2c5a14c58)

2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
"amis": "^2.9.0",
"amis-editor": "~5.2.0",

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in the reported amis ^2.9.0 and amis-editor ~5.2.0 setup with Vite and EggJS, using the screenshots as the available failure reference. Compare editing and preview in PC and mobile modes; done means mobile mode no longer reports the shown errors while PC behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vite
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.