3. Import and mount it in main.js (must use conditional compilation, otherwise it will report 'jweixin' of undefined when packaging the APP or running it on the mobile phone base, causing a white screen on the mobile phone)
// #ifdef H5
//导入 //(一定要用条件编译,否则在打包APP或在手机基座运行时会报 ‘jweixin’ of undefined,造成手机白屏)
import wxApi from './common/wxApi.js'
//挂载
Vue.prototype.$wxHide = wxApi.wexinHide
// #endif
4. Call the hide upper right corner function index.vue on the page