@titaui/pc 1.16.39-beta.1 → 1.16.39-beta.2
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.
|
@@ -50,7 +50,7 @@ var surveyMenus = /*#__PURE__*/function () {
|
|
|
50
50
|
label: (0, _getLocale.getLocale)('Per_Menu_Title_Label_BasicSettings'),
|
|
51
51
|
key: "other",
|
|
52
52
|
type: _index.GROUP_NAME_NODE,
|
|
53
|
-
href: "",
|
|
53
|
+
href: "#/",
|
|
54
54
|
isShow: props.isShowSurveyManage
|
|
55
55
|
}, {
|
|
56
56
|
icon: 'setting',
|
|
@@ -109,7 +109,7 @@ var _default = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
|
109
109
|
|
|
110
110
|
if (!isShowMenuItem) {
|
|
111
111
|
//如果当前路由没有权限展示的话,则跳转到有权限二级路由的第一项
|
|
112
|
-
window.location.href =
|
|
112
|
+
window.location.href = '#/survey/my-involved';
|
|
113
113
|
}
|
|
114
114
|
}, [history.location.pathname, history.location.search]);
|
|
115
115
|
|