@titaui/pc 1.16.38 → 1.16.39-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -47,14 +47,14 @@ var surveyMenus = /*#__PURE__*/function () {
|
|
|
47
47
|
isShow: true
|
|
48
48
|
}, {
|
|
49
49
|
icon: "",
|
|
50
|
-
label: '
|
|
50
|
+
label: (0, _getLocale.getLocale)('Per_Menu_Title_Label_BasicSettings'),
|
|
51
51
|
key: "other",
|
|
52
52
|
type: _index.GROUP_NAME_NODE,
|
|
53
53
|
href: "",
|
|
54
54
|
isShow: props.isShowSurveyManage
|
|
55
55
|
}, {
|
|
56
56
|
icon: 'setting',
|
|
57
|
-
label: '
|
|
57
|
+
label: (0, _getLocale.getLocale)('360_set_men_revset'),
|
|
58
58
|
key: PAGE_SURVEY_ASSESS_SETTINGS,
|
|
59
59
|
type: _index.MENU_ITEM_NOE,
|
|
60
60
|
href: '#/survey/assess-settings',
|
|
@@ -95,7 +95,7 @@ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
95
95
|
var firstMenuHref = menus[0].data.href;
|
|
96
96
|
if (firstMenuHref.split('#')[1] === pathname) return; //当前路由与二级菜单第一项相同时直接return
|
|
97
97
|
|
|
98
|
-
var menusHrefArr = ['/survey/manage', '/survey/my-involved'];
|
|
98
|
+
var menusHrefArr = ['/survey/manage', '/survey/my-involved', '/survey/assess-settings'];
|
|
99
99
|
var isIncludeMenu = menusHrefArr.find(function (item) {
|
|
100
100
|
//表示当前路由是否是左侧二级菜单的选项
|
|
101
101
|
return item.includes(pathname);
|