Commit 953bfc6f1a559309ea2b1114b8ede911a3751cc7

Authored by 无木
1 parent 2052eb5a

fix(modal): `helpMessage` doesn't work

修复`helpMessage`属性不起作用的问题
CHANGELOG.zh_CN.md
@@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
7 - 修复 selection-change 事件在取消勾选时未能正确触发的问题 7 - 修复 selection-change 事件在取消勾选时未能正确触发的问题
8 - 修复浅色主题下的全屏状态背景颜色不正确的问题 8 - 修复浅色主题下的全屏状态背景颜色不正确的问题
9 - **Qrcode** 修复二维码组件在创建时未能及时绘制的问题 9 - **Qrcode** 修复二维码组件在创建时未能及时绘制的问题
  10 +- **BasicModal** 修复`helpMessage`属性不起作用的问题
10 11
11 ## 2.7.0(2021-08-03) 12 ## 2.7.0(2021-08-03)
12 13
src/components/Modal/src/BasicModal.vue
@@ -140,9 +140,9 @@ @@ -140,9 +140,9 @@
140 wrapClassName: unref(getWrapClassName), 140 wrapClassName: unref(getWrapClassName),
141 }; 141 };
142 if (unref(fullScreenRef)) { 142 if (unref(fullScreenRef)) {
143 - return omit(attr, 'height'); 143 + return omit(attr, ['height', 'title']);
144 } 144 }
145 - return attr; 145 + return omit(attr, 'title');
146 }); 146 });
147 147
148 const getWrapperHeight = computed(() => { 148 const getWrapperHeight = computed(() => {