1 Star 0 Fork 291

joe008 / spider-flow-vue

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

介绍

平台以流程图的方式定义爬虫,是一个高度灵活可配置的爬虫平台

开源框架
https://www.antdv.com/docs/vue/introduce-cn/
https://pro.loacg.com/

开发介绍

1、目录介绍

  • ├─api 接口
  • ├─assets 资源文件
  • │ └─less 样式
  • ├─components 公用组件(非页面)
  • │ ├─layouts 布局
  • │ ├─menu 菜单
  • │ ├─page 页面模块
  • │ ├─setting 设置
  • │ ├─tools 工具
  • │ └─_util 工具包
  • ├─config 配置信息
  • ├─router 路由
  • ├─store 全局变量
  • │ └─modules 变量模块
  • ├─utils 工具包
  • │ └─encryption 加密工具
  • └─views 视图页面

2、添加开发者菜单


src\config\router.config.dev.js 格式和说明

/**
 * 路由配置说明:
 * 建议:sider menu 请不要超过三级菜单,若超过三级菜单,则应该设计为顶部主菜单 配合左侧次级菜单
 *
 **/
 {
  redirect: noredirect,
  name: 'router-name',
  hidden: true,
  meta: {
    title: 'title',
    icon: 'a-icon',
    keepAlive: true,
    hiddenHeaderContent: true,
  }
}

{ Route } 对象

参数 说明 类型 默认值
hidden 控制路由是否显示在 sidebar boolean falase
redirect 重定向地址, 访问这个路由时,自定进行重定向 string -
name 路由名称, 建议设置,且不能重名 string -
meta 路由元信息(路由附带扩展信息) object {}

{ Meta } 路由元信息对象

参数 说明 类型 默认值
title 路由标题, 用于显示面包屑, 页面标题 *推荐设置 string -
icon 路由在 menu 上显示的图标,支持ant design官网图标 string -
keepAlive 缓存该路由 boolean false
hiddenHeaderContent *特殊 隐藏 PageHeader 组件中的页面带的 面包屑和页面标题栏 boolean false
permission 与项目提供的权限拦截匹配的权限,如果不匹配,则会被禁止访问该路由页面 array []

3、页面添加位置

全部的页面都放在src\views里建一个文件夹

MIT License Copyright (c) 2020 小东 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.

简介

暂无描述 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/joe008/spider-flow-vue.git
git@gitee.com:joe008/spider-flow-vue.git
joe008
spider-flow-vue
spider-flow-vue
master

搜索帮助