修改菜单

feature/0423
Wayne 9 months ago
parent 4d37ba35a7
commit 11427c19dd
  1. 41
      src/config/router.config.js
  2. 4
      src/views/apps/collector/Setting.vue

@ -296,6 +296,27 @@ export const asyncRouterMap = [
permission: ['/goods/source/index'],
},
},
{
path: '/apps/collector',
component: RouteView,
redirect: '/apps/collector/index',
meta: { title: '商品采集', keepAlive: false, permission: ['/apps/collector'] },
moduleKey: 'apps-collector',
isHideChildren: true,
children: [
{
path: '/apps/collector/index',
component: () => import(/* webpackChunkName: "collector" */ '@/views/apps/collector/Index'),
meta: { title: '一键采集', keepAlive: false, permission: ['/apps/collector/index'] },
},
{
path: '/apps/collector/setting',
component: () => import(/* webpackChunkName: "collector" */ '@/views/apps/collector/Setting'),
meta: { title: '接口配置', keepAlive: false, permission: ['/apps/collector/setting'] },
},
],
},
],
},
@ -964,26 +985,6 @@ export const asyncRouterMap = [
},
],
},
{
path: '/apps/collector',
component: RouteView,
redirect: '/apps/collector/index',
meta: { title: '商品采集', keepAlive: false, permission: ['/apps/collector'] },
moduleKey: 'apps-collector',
isHideChildren: true,
children: [
{
path: '/apps/collector/index',
component: () => import(/* webpackChunkName: "collector" */ '@/views/apps/collector/Index'),
meta: { title: '一键采集', keepAlive: false, permission: ['/apps/collector/index'] },
},
{
path: '/apps/collector/setting',
component: () => import(/* webpackChunkName: "collector" */ '@/views/apps/collector/Setting'),
meta: { title: '接口配置', keepAlive: false, permission: ['/apps/collector/setting'] },
},
],
},
],
},

@ -8,14 +8,14 @@
placeholder="请输入APIKEY"
v-decorator="['config.99api.apiKey', { rules: [{ required: true, min: 2, message: '请输入APIKEY' }] }]"
/>
<div class="form-item-help">
<!-- <div class="form-item-help">
<small>请填写99API的APIKEY可前往</small>
<a
href="https://user.99api.com/login?log=5&referee=19347"
target="_blank"
>https://www.99api.com/</a>
<small>注册申请</small>
</div>
</div> -->
</a-form-item>
<a-form-item :wrapperCol="{ span: wrapperCol.span, offset: labelCol.span }">
<a-button type="primary" html-type="submit">提交</a-button>

Loading…
Cancel
Save