Commit 6e7c610b authored by 涂伟's avatar 涂伟

fix: '运维功能路径保存逻辑优化'

parent ce438be4
......@@ -419,6 +419,12 @@ const MiniMenu = props => {
const getParams = prop => {
const typeArr = ['MobileGCK', 'civ_mobile', 'flutter'];
let productType = prop.pageUrl?.split('/')[0] || '';
if (productType === '') {
productType = 'MobileGCK';
}
if (prop.pageUrl.indexOf('/') === -1) {
productType = 'flutter';
}
if (!typeArr.includes(productType)) {
productType = '';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment