After using uniapp packaging project android preview is normal, but apple console to quote the following error:
So search on the Internet and try once, found that is the problem that the regular expression,
emergence reason
After packaging of js does not support native double slash format of regular//
solution
//packaging cases complains
let regExp=/(? <=(? !//). *?//). *!/g;
//changed to the following format can
let regExp=new regExp (" (? <=(? !//). *?//). *!" "G");