Skip to content

Commit

Permalink
fix(markdown): value not worked on init
Browse files Browse the repository at this point in the history
修复Markdown组件的value属性初始值不起作用的问题
  • Loading branch information
mynetfan committed Sep 10, 2021
1 parent 9e9ea3f commit 0bb9c03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- **BasicTable**
- 修复可编辑单元格的内容为空时,不会显示编辑图标的问题
- 修复表尾合计行与表格主体部分的列有时候未能对齐的问题
- **MarkDown** 修复初始 value 属性的值不起作用的问题
- **其它**
- 修复部分封装组件在使用插槽时报错的问题
- 修复`useECharts``theme`参数不起作用的问题
Expand Down
2 changes: 1 addition & 1 deletion src/components/Markdown/src/Markdown.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
const { getLocale } = useLocale();
const { getDarkMode } = useRootSetting();
const valueRef = ref('');
const valueRef = ref(props.value || '');
watch(
[() => getDarkMode.value, () => initedRef.value],
Expand Down

0 comments on commit 0bb9c03

Please sign in to comment.