web_niu_jumprouter
用法
- main中引入
import jumprouter from 'web_niu_jumprouter/lib/jumprouter.common'
import 'web_niu_jumprouter/lib/jumprouter.css'
Vue.use(jumprouter)
- 组件引入
<jumprouter :title="title" :token="token" :url_api="url_api" :base_url="base_url" :visiable.sync="visiable" @close="handleClose"></jumprouter>
---------------------------------------------------------------------------------------------------------------------------------------------
参数:
(String) title:标题
(String) token:token
(Array) data_list:数据
(String) base_url:代理路径
(Promise) url_api:接口数据
(Boolean) visiable:是否显示
-------------------------------
事件:
@close:关闭事件
- 代理文件创建:
路径:public/proxy.html
------------------------
内容:
<script>
window.onload = function () {
window.open(window.top.jump_url, '_blank')
}
</script>
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.23 | ^2.6.10 | ISC | |
| 1.0.22 | ^2.6.10 | ISC | |
| 1.0.21 | ^2.6.10 | ISC | |
| 1.0.20 | ^2.6.10 | ISC | |
| 1.0.19 | ^2.6.10 | ISC | |
| 1.0.18 | ^2.6.10 | ISC | |
| 1.0.17 | ^2.6.10 | ISC | |
| 1.0.16 | ^2.6.10 | ISC | |
| 1.0.15 | ^2.6.10 | ISC | |
| 1.0.14 | ^2.6.10 | ISC | |
| 1.0.13 | ^2.6.10 | ISC | |
| 1.0.12 | ^2.6.10 | ISC | |
| 1.0.11 | ^2.6.10 | ISC | |
| 1.0.10 | ^2.6.10 | ISC | |
| 1.0.9 | ^2.6.10 | ISC | |
| 1.0.8 | ^2.6.10 | ISC | |
| 1.0.7 | ^2.6.10 | ISC | |
| 1.0.6 | ^2.6.10 | ISC | |
| 1.0.5 | ^2.6.10 | ISC | |
| 1.0.4 | ^2.6.10 | ISC | |
| 1.0.3 | ^2.6.10 | ISC | |
| 1.0.2 | ^2.6.10 | ISC | |
| 1.0.1 | ^2.6.10 | ISC | |
| 1.0.0 | ^2.6.10 | ISC | |
| 0.1.9 | ^2.6.10 | ISC | |
| 0.1.8 | ^2.6.10 | ISC | |
| 0.1.7 | ^2.6.10 | ISC | |
| 0.1.6 | ^2.6.10 | ISC | |
| 0.1.5 | ^2.6.10 | ISC | |
| 0.1.4 | ^2.6.10 | ISC |
Showing the latest 30 of 33. See every release on npm