Commit c1dd8d8b authored by 涂伟's avatar 涂伟

fix: 'mobile产品类型存储代码优化'

parent 02550961
......@@ -17,10 +17,10 @@ const EditForm = props => {
info.pageUrl = '/' + info.product + info.pageUrl;
}
} else {
if (!info.pageUrl.includes('/')) {
if (!info.pageUrl?.includes('/')) {
info.pageUrl = '/Flutter/' + info.pageUrl;
} else {
if (info.pageUrl.split('/')[0] !== '') {
if (info.pageUrl?.split('/')[0] !== '') {
info.pageUrl = '/MobileGCK/' + info.pageUrl;
} else {
info.pageUrl = '/MobileGCK' + info.pageUrl;
......
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