Happy-Coding-Clans / Happy-Coding-Clans/vue-easytable

[Bug Report] tabledata不能绑定计算属性 使用右键时会报错

Open
#542 2 comments 0 reactions 0 assignees View on GitHub
need reproduction
Dominant language
JavaScript
Stars
3.8k
Forks
771
PR merge metrics
No merged PRs in 30d

Description

### 选择要提交 issue 的库
vue-easytable

### Issue 类型
Bug

### Issue 标题
tabledata不能绑定计算属性 使用右键时会报错

### 仓库版本
v2.22.0

### Vue 版本
vue2

### 浏览器
Chrome

### 系统类型
Chrome

### 重现链接

### 重现步骤
为了实现排序功能 我将数据绑定为一个计算属性,但是在使用右键菜单操作时(例如在上方插入一行),就会报错,不使用计算属性就不会
![image](https://user-images.githubusercontent.com/73522318/217493445-3ddcacee-6f73-4f62-9368-46937e630eca.png)

![image](https://user-images.githubusercontent.com/73522318/217493474-2b00d31d-634f-4222-b68f-c07c26a1eb1c.png)

### 期望的结果是什么?
支持绑定的值是计算属性

### 实际的结果是什么?
不支持计算属性

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.