Skip to content

[Table] 异常注入到源数据的属性 #6432

@ITsPro-CN

Description

@ITsPro-CN

tdesign-vue-next 版本

1.18.2

重现链接

No response

重现步骤

有这样的一个源数据

<t-table :data="data" />
const data = ref([
  {
    time:{
      description:{
        content: string
      }
    }
  }
])

使用后每个记录的time.description里除了content,又都多挂载了一个_ctx的vNode

Image

因为使用了插槽进行网络请求,多了这个对象会导致无法JSON.stringify

期望结果

组件不要修改源数据添加多余的属性

实际结果

No response

框架版本

3.5.28

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions