imeik-bizui 2.4.3 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -37,7 +37,7 @@
37
37
  ></CommonRegionCascader>
38
38
  -->
39
39
  <template>
40
- <el-cascader v-if="!isView" v-model="myValue" :props="props" :options="options" :placeholder="placeholder" clearable filterable v-bind="$attrs" @change="handleChange"></el-cascader>
40
+ <el-cascader v-if="!isView" v-model="myValue" :props="props" :options="options" :placeholder="placeholder" clearable filterable v-bind="$attrs" popper-class="common-region-cascader-popper" @change="handleChange"></el-cascader>
41
41
  <div v-else>{{ myLabel || '-' }}</div>
42
42
  </template>
43
43
 
@@ -256,3 +256,12 @@ export default {
256
256
  }
257
257
  }
258
258
  </script>
259
+
260
+ <!-- 下拉挂 body,scoped 无效;仅限制宽度避免超出视口 -->
261
+ <style lang="scss">
262
+ // 这里是为了在移动端适配
263
+ .common-region-cascader-popper {
264
+ max-width: 100%;
265
+ overflow-x: auto;
266
+ }
267
+ </style>