king
2020-03-31 86aab033b5129b00651b716ee70ce871cf670008
src/index.js
@@ -10,7 +10,7 @@
import '@/assets/css/viewstyle.scss'
if ((navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i))) {
  window.location.replace(window.location.href.split('build/')[0] + 'index.html')
  window.location.replace(window.location.href.split(/(index.html)+/ig)[0] + 'mob/index.html')
}
const render  = Component => {