大家好 我想问一下 在iframe子页面 通过window.parent.document打开父页面的modal层,这样父页面的modal关闭方法$("#modal").modal("hide")不能正常关闭,有没有大神知道这是什么原因
2017-07-05回答次数3访问次数495
想用react写一个公用的弹窗模块,类似蚂蚁金服种的react Modal方法。 我不知道这个实现的原理是什么?怎么才能把我写的弹窗插入到页面最后去呢?
2017-07-05回答次数4访问次数521
比如说一个页面有个modal组件,modal组件里面的内容写在子组件里面(ModalDetail),在这个组件里面拿不到this.props.location,求解答,除了从父组件传进去和通过window对象拿,还有什么方法
2017-06-26回答次数2访问次数294
报错:Modal: isMounted is deprecated. Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks. {代码...} 网上找了好久也没找到原因问一下怎么...
2017-06-28回答次数1访问次数415
最近在做一个pc的项目,要把echarts图表在bootstrap模态框里展示,用户点击按钮弹出内容为echarts图表的modal。 一、先搞一个模态框出来~ HTML: {代码...} JS: {代码...} 二、渲染图表: {代码...} 此时我们可...
2017-06-12回答次数1访问次数722