Comments (5)
z-index 的值是 element-ui 通过 js 动态写入的 这个是 element-ui 在多层嵌套中自身的 bug 一个解决方式是 在你打开 dialog 的时候 动态将 v-modal 的 z-index 设置在 2000 以内
from vue-area-linkage.
嗯,但是如果在dialog中使用原生el-select就不会被覆盖,而用area-select就会被覆盖。后者不也是给el-select传递数组吗?
from vue-area-linkage.
我引入 element 是按需引入的 不是全量引入 所以会有 z-index 覆盖的问题 这个我在项目中有碰到过 解决方式就是通过 js 再将 v-modal 的 z-index 设置在 2000 以内。 这个之前有人给 element 提过 Issue 不过貌似不了了之了。
area-select 传给 el-select 的是数组
from vue-area-linkage.
通过 js 再将 v-modal 的 z-index 设置在 2000 以内时 需要设置个定时器去拿 v-modal 元素, 因为 dialog 有过渡动画 在打开 dialog 立即去拿 v-modal 可能会获取不到这个 dom 元素
from vue-area-linkage.
嗯好的 这个我可以在dialog的open回调里获取。你说的v-modal是指dialog的实例吧?我没有看到dialog有设置这个属性的方式诶
from vue-area-linkage.
Related Issues (20)
- 如何设置默认值 HOT 2
- 修改的时候.怎么传入之前选好的 省市区 数据 HOT 1
- 如果不用area-data的数据,用自己的接口返回的怎么处理 HOT 1
- change事件有问题 HOT 7
- 建议DEMO页面的代码都改成可以复制的文本,给大家节省几分钟时间 HOT 1
- 样式有些问题 HOT 9
- v-model无法进行双向数据绑定 HOT 7
- 深圳市下没有龙华区 HOT 1
- disableLinkage字段README.md文档错误
- 如何在其他地方 通过code 获取具体的地址
- 省市区有相同数据会报错
- 安装时报错
- pcaa 省市县联动选择港澳的时候报错,其他省份正常
- disableLinkage设置成true,不联动的时候,v-model绑定的城市值丢失 HOT 1
- 无法进行form表单验证,希望扩展下
- 使用级联选择器时,选项卡初始化存在空值风险
- 兼容
- 重置失效 HOT 1
- 这个是否只支持国内的
- 可以的话,来个清空按钮的功能,就更赞了
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-area-linkage.