Skip to content

Commit 4bdbb2c

Browse files
authored
fix: use toRaw to solve error (#3812)
1 parent 749e196 commit 4bdbb2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/vc-table/src/TableCell.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { inject } from 'vue';
1+
import { inject, toRaw } from 'vue';
22
import PropTypes from '../../_util/vue-types';
33
import get from 'lodash-es/get';
44
import classNames from '../../_util/classNames';
@@ -127,7 +127,7 @@ export default {
127127
<BodyCell class={cellClassName} {...tdProps}>
128128
{indentText}
129129
{expandIcon}
130-
{text}
130+
{toRaw(text)}
131131
</BodyCell>
132132
);
133133
},

0 commit comments

Comments
 (0)