fix: use toRaw to solve error (#3812)
parent
749e196689
commit
4bdbb2c5d4
|
@ -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…
Reference in New Issue