Browse Source

fix: use toRaw to solve error (#3812)

pull/3828/head
ajuner 4 years ago committed by GitHub
parent
commit
4bdbb2c5d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      components/vc-table/src/TableCell.jsx

4
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 {
<BodyCell class={cellClassName} {...tdProps}>
{indentText}
{expandIcon}
{text}
{toRaw(text)}
</BodyCell>
);
},

Loading…
Cancel
Save