From 4bdbb2c5d4274c03b5940e35940ca3c686fd5b03 Mon Sep 17 00:00:00 2001 From: ajuner <106791576@qq.com> Date: Fri, 19 Mar 2021 17:20:58 +0800 Subject: [PATCH] fix: use toRaw to solve error (#3812) --- components/vc-table/src/TableCell.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/vc-table/src/TableCell.jsx b/components/vc-table/src/TableCell.jsx index ad5979c06..d7893ce42 100644 --- a/components/vc-table/src/TableCell.jsx +++ b/components/vc-table/src/TableCell.jsx @@ -1,4 +1,4 @@ -import { inject } from 'vue'; +import { inject, toRaw } from 'vue'; import PropTypes from '../../_util/vue-types'; import get from 'lodash-es/get'; import classNames from '../../_util/classNames'; @@ -127,7 +127,7 @@ export default { {indentText} {expandIcon} - {text} + {toRaw(text)} ); },