【新增】后台设计界面,导航租模块,链接类型里增加商品分类选择

This commit is contained in:
jianweie
2023-04-27 17:33:53 +08:00
parent 9cdd427efd
commit d19f29d1a2
8 changed files with 130 additions and 5 deletions

View File

@@ -301,6 +301,9 @@ module.exports = {
} else if (type == navLinkType.intelligentForms) {
//自定义表单
this.$u.route('/pages/form/details/details', { id: val });
} else if (type == navLinkType.shopCategory) {
//商品分类
this.$u.route('/pages/category/list/list', { id: val });
} else {
this.$u.route(val);
}

View File

@@ -114,7 +114,7 @@ export const navLinkType = {
shop: 2,// "商品"
article: 3,// "文章"
articleCategory: 4,// "文章分类",
intelligentForms: 5// "智能表单"
intelligentForms: 5,// "智能表单"
shopCategory: 6// "商品分类"
};