diff --git a/yudao-ui-admin/src/router/index.js b/yudao-ui-admin/src/router/index.js index 05a23465c..825b86844 100644 --- a/yudao-ui-admin/src/router/index.js +++ b/yudao-ui-admin/src/router/index.js @@ -76,6 +76,11 @@ export const constantRoutes = [ // } // ] // }, + { + path:'/', + component: Layout, + redirect: '/product/store', + }, { path: '/user', component: Layout, diff --git a/yudao-ui-admin/src/views/mall/market/banner/index.vue b/yudao-ui-admin/src/views/mall/market/banner/index.vue index 32b464357..ad22e970c 100644 --- a/yudao-ui-admin/src/views/mall/market/banner/index.vue +++ b/yudao-ui-admin/src/views/mall/market/banner/index.vue @@ -119,7 +119,7 @@ export default { rules: { title: [{required: true, message: "标题不能不空", trigger: "blur"}], picUrl: [{required: true, message: "图片地址不能为空", trigger: "blur"}], - url: [{required: true, message: "跳转地址不能为空", trigger: "blur"}] + // url: [{required: true, message: "跳转地址不能为空", trigger: "blur"}] } }; },