ElemeFE / ElemeFE/mint-ui

[Bug Report] 在Nuxt中的服务端渲染模式下使用cell-swipe报错, 无法使用.

Open
#1,129 2 comments 3 reactions 0 assignees View on GitHub
enhancement
Dominant language
Vue
Stars
16.4k
Forks
3.5k
PR merge metrics
No merged PRs in 30d

Description

### Mint UI version
2.2.9

### OS/Browsers version
Chrome 61.0.3163.100

### Vue version
2.4.2

### Reproduction Link
[https://github.com/xachary/nuxt-mint-ui-bug](https://github.com/xachary/nuxt-mint-ui-bug)

### Steps to reproduce
## 安装所需包
npm install

## 1. ssr渲染模式
### 启动服务
npm run dev
### 访问测试页面
http://localhost:3000/cellswipe
### 结果:
异常, 报错, 失败

## 2. spa渲染模式
### 启动服务
npm run dev-spa
### 访问测试页面
http://localhost:3000/cellswipe
### 结果: 正常

### What is Expected?
#### ssr渲染模式
左滑第一项可以出现右侧Delete按钮

### What is actually happening?
#### ssr渲染模式
浏览器控制台报错, Vue报错.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.