管理端 轮播跳转地址非必填

pull/2/head
Jruome 2023-05-29 18:28:38 +08:00
parent 04042caf41
commit e31b117d09
2 changed files with 6 additions and 1 deletions

View File

@ -76,6 +76,11 @@ export const constantRoutes = [
// } // }
// ] // ]
// }, // },
{
path:'/',
component: Layout,
redirect: '/product/store',
},
{ {
path: '/user', path: '/user',
component: Layout, component: Layout,

View File

@ -119,7 +119,7 @@ export default {
rules: { rules: {
title: [{required: true, message: "标题不能不空", trigger: "blur"}], title: [{required: true, message: "标题不能不空", trigger: "blur"}],
picUrl: [{required: true, message: "图片地址不能为空", trigger: "blur"}], picUrl: [{required: true, message: "图片地址不能为空", trigger: "blur"}],
url: [{required: true, message: "跳转地址不能为空", trigger: "blur"}] // url: [{required: true, message: "", trigger: "blur"}]
} }
}; };
}, },