vue-safe-force-graph 0.0.158 → 0.0.161
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.
- package/LICENSE +21 -21
- package/README.md +40 -40
- package/lib/vue-safe-force-graph.common-report.html +2 -2
- package/lib/vue-safe-force-graph.common.js +234 -179
- package/lib/vue-safe-force-graph.css +1 -1
- package/lib/vue-safe-force-graph.umd-report.html +2 -2
- package/lib/vue-safe-force-graph.umd.js +234 -179
- package/lib/vue-safe-force-graph.umd.min-report.html +2 -2
- package/lib/vue-safe-force-graph.umd.min.js +19 -19
- package/package.json +74 -74
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2017-present PanJiaChen
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2017-present PanJiaChen
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
## 核心安全技术中台-平台技术组-前端小组
|
|
2
|
-
|
|
3
|
-
### 后台管理系统推荐模板
|
|
4
|
-
|
|
5
|
-
模板采用[vue-element-admin](https://panjiachen.github.io/vue-admin-template) 开源框架,并做相应修改。它基于 [vue](https://github.com/vuejs/vue) 和 [element-ui](https://github.com/ElemeFE/element)实现。
|
|
6
|
-
- **布局**
|
|
7
|
-
模板初始布局采用左侧菜单形式
|
|
8
|
-
如需改为上下结构布局 可参考 大一统相关代码
|
|
9
|
-
PS:[访问大一统] (https://bigone.safe.qihoo.net/#/permission/applyList)
|
|
10
|
-
大一统GIT 地址 git@git.corp.qihoo.net:cloudsafeeng/bigone.git
|
|
11
|
-
- **菜单**
|
|
12
|
-
其中菜单由原来通过ruoter获取,改用数组方式配置 具体配置文件在 src/store/modules/menu.js 中
|
|
13
|
-
也可改用接口获取
|
|
14
|
-
菜单ICON 新增elementUI中的icon
|
|
15
|
-
- **权限**
|
|
16
|
-
权限文件在 src/permission.js中
|
|
17
|
-
权限控制建议通过后台返回菜单结构,和路径白名单的方式 通过 router.beforeEach 进行路由跳转拦截
|
|
18
|
-
- **代理配置**
|
|
19
|
-
在vue.config.js中
|
|
20
|
-
更改变量targetHost 为后台开发路径可进行API代理,避免跨域问题
|
|
21
|
-
- **相关文档**
|
|
22
|
-
https://panjiachen.gitee.io/vue-element-admin-site/zh/
|
|
23
|
-
- **开发**
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
# 克隆项目
|
|
27
|
-
git clone https://github.com/PanJiaChen/vue-element-admin.git
|
|
28
|
-
|
|
29
|
-
# 进入项目目录
|
|
30
|
-
cd vue-element-admin
|
|
31
|
-
|
|
32
|
-
# 安装依赖
|
|
33
|
-
npm install
|
|
34
|
-
|
|
35
|
-
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
|
|
36
|
-
npm install --registry=https://registry.npm.taobao.org
|
|
37
|
-
|
|
38
|
-
# 启动服务
|
|
39
|
-
npm run dev
|
|
40
|
-
```
|
|
1
|
+
## 核心安全技术中台-平台技术组-前端小组
|
|
2
|
+
|
|
3
|
+
### 后台管理系统推荐模板
|
|
4
|
+
|
|
5
|
+
模板采用[vue-element-admin](https://panjiachen.github.io/vue-admin-template) 开源框架,并做相应修改。它基于 [vue](https://github.com/vuejs/vue) 和 [element-ui](https://github.com/ElemeFE/element)实现。
|
|
6
|
+
- **布局**
|
|
7
|
+
模板初始布局采用左侧菜单形式
|
|
8
|
+
如需改为上下结构布局 可参考 大一统相关代码
|
|
9
|
+
PS:[访问大一统] (https://bigone.safe.qihoo.net/#/permission/applyList)
|
|
10
|
+
大一统GIT 地址 git@git.corp.qihoo.net:cloudsafeeng/bigone.git
|
|
11
|
+
- **菜单**
|
|
12
|
+
其中菜单由原来通过ruoter获取,改用数组方式配置 具体配置文件在 src/store/modules/menu.js 中
|
|
13
|
+
也可改用接口获取
|
|
14
|
+
菜单ICON 新增elementUI中的icon
|
|
15
|
+
- **权限**
|
|
16
|
+
权限文件在 src/permission.js中
|
|
17
|
+
权限控制建议通过后台返回菜单结构,和路径白名单的方式 通过 router.beforeEach 进行路由跳转拦截
|
|
18
|
+
- **代理配置**
|
|
19
|
+
在vue.config.js中
|
|
20
|
+
更改变量targetHost 为后台开发路径可进行API代理,避免跨域问题
|
|
21
|
+
- **相关文档**
|
|
22
|
+
https://panjiachen.gitee.io/vue-element-admin-site/zh/
|
|
23
|
+
- **开发**
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# 克隆项目
|
|
27
|
+
git clone https://github.com/PanJiaChen/vue-element-admin.git
|
|
28
|
+
|
|
29
|
+
# 进入项目目录
|
|
30
|
+
cd vue-element-admin
|
|
31
|
+
|
|
32
|
+
# 安装依赖
|
|
33
|
+
npm install
|
|
34
|
+
|
|
35
|
+
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
|
|
36
|
+
npm install --registry=https://registry.npm.taobao.org
|
|
37
|
+
|
|
38
|
+
# 启动服务
|
|
39
|
+
npm run dev
|
|
40
|
+
```
|