fix: use toRaw to solve error (#3812)

pull/3828/head
ajuner 4 years ago committed by GitHub
parent 749e196689
commit 4bdbb2c5d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
import { inject } from 'vue'; import { inject, toRaw } from 'vue';
import PropTypes from '../../_util/vue-types'; import PropTypes from '../../_util/vue-types';
import get from 'lodash-es/get'; import get from 'lodash-es/get';
import classNames from '../../_util/classNames'; import classNames from '../../_util/classNames';
@ -127,7 +127,7 @@ export default {
<BodyCell class={cellClassName} {...tdProps}> <BodyCell class={cellClassName} {...tdProps}>
{indentText} {indentText}
{expandIcon} {expandIcon}
{text} {toRaw(text)}
</BodyCell> </BodyCell>
); );
}, },

Loading…
Cancel
Save