hookehuyr

✨ feat(多选规则控件): 说明弹框滚动问题修复

1 <!-- 1 <!--
2 * @Date: 2022-08-30 11:34:19 2 * @Date: 2022-08-30 11:34:19
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2023-02-07 15:04:09 4 + * @LastEditTime: 2023-02-09 15:41:53
5 * @FilePath: /data-table/src/components/MultiRuleField/index.vue 5 * @FilePath: /data-table/src/components/MultiRuleField/index.vue
6 * @Description: 多选规则确认控件 6 * @Description: 多选规则确认控件
7 --> 7 -->
...@@ -35,10 +35,10 @@ ...@@ -35,10 +35,10 @@
35 </van-field> 35 </van-field>
36 </div> 36 </div>
37 37
38 - <van-overlay :show="show"> 38 + <van-overlay :show="show" :lock-scroll="false">
39 <div class="rule-wrapper" @click.stop> 39 <div class="rule-wrapper" @click.stop>
40 <div class="rule-block"> 40 <div class="rule-block">
41 - <div style="height: 70vh; overflow: scroll; white-space: pre-wrap;" v-html="rule_content"></div> 41 + <div style="height: 70vh; min-height: 70vh; overflow: scroll; white-space: pre-wrap;" v-html="rule_content"></div>
42 <div class="close-btn"> 42 <div class="close-btn">
43 <van-button type="primary" block @click="closeRule" 43 <van-button type="primary" block @click="closeRule"
44 >关&nbsp;&nbsp;闭</van-button 44 >关&nbsp;&nbsp;闭</van-button
......