Commit 97f59ee5 authored by 涂伟's avatar 涂伟

fix: '第三方接入逻辑优化'

parent 739d18cb
Pipeline #79033 passed with stages
......@@ -20,9 +20,9 @@ const EditForm = props => {
if (!info.pageUrl?.includes('/')) {
info.pageUrl = 'flutter/' + info.pageUrl;
} else {
if (info.pageUrl?.split('/')[0] !== '') {
if (info.pageUrl?.split('/')[0] !== '' && info.pageUrl.indexOf('http') === -1) {
info.pageUrl = 'MobileGCK/' + info.pageUrl;
} else {
} else if (info.pageUrl.indexOf('http') === -1) {
info.pageUrl = 'MobileGCK' + info.pageUrl;
}
}
......
......@@ -420,7 +420,7 @@ const MiniMenu = props => {
const getParams = prop => {
const typeArr = ['MobileGCK', 'civ_mobile', 'flutter'];
let productType = prop.pageUrl?.split('/')[0] || '';
if (productType === '') {
if (productType === '' && prop.pageUrl?.indexOf('http') === -1) {
productType = 'MobileGCK';
}
if (prop.pageUrl?.indexOf('/') === -1) {
......
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