src/views/login/index.jsx
@@ -99,8 +99,14 @@ componentDidMount () { let timeStamp = new Date().getTime() let str = md5('MK19' + options.AppId + timeStamp) Api.systemauth(options.AppId, timeStamp).then(res => { let _appId = window.GLOB.appId if (options.systemType === 'Cloud') { // 云端使用系统配置appid _appId = options.AppId } let str = md5('MK19' + _appId + timeStamp) Api.systemauth(_appId, timeStamp).then(res => { if (res.status && res.EPC === str) { let box = [] for (let i = 0; i < 15; i++) {