About the problem that Wechat's system below IOS11 opens the white screen of the page.

recently, there is a problem with the white screen of the Wechat official account project under development. Everything is fine on Android. It only happens when the built-in browser is opened on the iPhone below IOS11 and Wechat"s PC version.

Apr.02,2021

if the screen is white, it is estimated to be an error in JS. The syntax of ES6 is not fully supported in the systems below iOS11. You can find a probe tool to collect JS error reports.


one of the situations can be considered:
previous experience, just change the address http to https


1. Enter the build folder;
2. Find the webpack.prod.conf.js file;
3. Add an option about mangle to the definition of UglifyPlugin to make it look like this:

new UglifyJsPlugin ({

  uglifyOptions: {
    compress: {
      warnings: false
    },
    mangle: {
      safari10: true
    }
  },
  sourceMap: config.build.productionSourceMap,
  parallel: true
}),

ios10
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-7b608a-265fa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-7b608a-265fa.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?