当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
0 Star 21 Fork 2.3K

8XayLXCw / vue-element-admin
暂停

forked from 花裤衩 / vue-element-admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

vue-element-admin 拓展组件: Iframes

可保存状态的 iframe 组件(正常访问该组件便是 iframe 页面,且在当前页面所做的操作并不会因为切换 tags view 而重置掉)

预览效果请在启动后查看 iframes 菜单下的页面

新增 iframe 流程:

  1. 在 iframes-config.js 文件下配置 iframe 链接,key 值请勿重复
  2. 添加对应的路由和页面,页面引入 iframes-mixin.js 并混入页面组件



最新备注:这部分代码只是提供了一种思路,当初写的时候代码也很糙,并且现在是否有框架官方的 iframe 缓存功能也不清楚,由于没有时间优化这个功能,所以现在关闭了当前项目,仅作参考

MIT License Copyright (c) 2017-present PanJiaChen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

自定义了一个iframes组件,实现在框架中加载iframe页面,能够在targs切换时保留iframe状态,而不刷新 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/chkhk/vue-element-admin.git
git@gitee.com:chkhk/vue-element-admin.git
chkhk
vue-element-admin
vue-element-admin
master

搜索帮助