Commit 1ea020b0 authored by JingChao's avatar JingChao

dev 1.4.0

parent a6532da7
Pipeline #4509 canceled with stages
...@@ -11,5 +11,5 @@ module.exports = { ...@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"', ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="', fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="',
appId: '"com.xcmg.app.dev"', appId: '"com.xcmg.app.dev"',
currentVersion: '"1.3.9"' currentVersion: '"1.4.0"'
} }
...@@ -58,10 +58,10 @@ import Jpush from './scripts/jpushService' ...@@ -58,10 +58,10 @@ import Jpush from './scripts/jpushService'
import Jmessage from './scripts/jmessageService' import Jmessage from './scripts/jmessageService'
// if (process.env.CONFIG_ENV === 'uat') { if (process.env.CONFIG_ENV === 'uat') {
// const VConsole = require('vconsole') const VConsole = require('vconsole')
// new VConsole() // eslint-disable-line new VConsole() // eslint-disable-line
// } }
Vue.use(componentInstall) Vue.use(componentInstall)
Vue.use(components) Vue.use(components)
...@@ -122,9 +122,9 @@ let backButtonPressedOnceToExit ...@@ -122,9 +122,9 @@ let backButtonPressedOnceToExit
vum.$vumPlatform.ready(function () { vum.$vumPlatform.ready(function () {
if ((vum.Platform.isAndroid()) || (vum.Platform.isIOS())) { if ((vum.Platform.isAndroid()) || (vum.Platform.isIOS())) {
/* window.getRegistrationID = function (callback){ /* window.getRegistrationID = function (callback){
callback('') callback('')
}*/ } */
try { try {
setTimeout(function () { setTimeout(function () {
navigator.splashscreen.hide() navigator.splashscreen.hide()
......
...@@ -37,6 +37,10 @@ axios.interceptors.response.use(response => { ...@@ -37,6 +37,10 @@ axios.interceptors.response.use(response => {
return Promise.resolve(err) return Promise.resolve(err)
} else if (response.code === '404') { } else if (response.code === '404') {
hlsPopup.showError('未找到资源文件') hlsPopup.showError('未找到资源文件')
return Promise.resolve('未找到资源文件')
} else if (!response.data.success) {
hlsPopup.showError(response.data.error.message)
return Promise.resolve(response.data.error.message)
} else { } else {
return response.data return response.data
} }
......
File deleted
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"></script><title>徐工融租</title><link href=./static/css/app.ecf999ef00c623db85c5cdf070de6140.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.6b67e0e03d53691d2979.js></script><script type=text/javascript src=./static/js/app.29f65d215d2a52ac2500.js></script></body></html> <!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=o7fTnpVAGzXKN7SirV8xGU2xzWQS2NrI"></script><title>徐工融租</title><link href=./static/css/app.486eb393b1929813a88cd1e17a0b75ae.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.3ad1d5771e9b13dbdad2.js></script><script type=text/javascript src=./static/js/vendor.347d8a64f0016023e186.js></script><script type=text/javascript src=./static/js/app.90302ba3468bd9eeade3.js></script></body></html>
\ No newline at end of file \ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment