Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
1ea020b0
Commit
1ea020b0
authored
Jan 07, 2020
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dev 1.4.0
parent
a6532da7
Pipeline
#4509
canceled with stages
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
8 deletions
+12
-8
uat.env.js
config/uat.env.js
+1
-1
main.js
src/main.js
+6
-6
hlsHttp.js
src/scripts/hlsHttp.js
+4
-0
www.zip
www.zip
+0
-0
index.html
www/index.html
+1
-1
No files found.
config/uat.env.js
View file @
1ea020b0
...
...
@@ -11,5 +11,5 @@ module.exports = {
ocrPath
:
'"http://180.104.121.66:8088/r/api"'
,
fileUploadSvcPath
:
'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_DEV&apiName="'
,
appId
:
'"com.xcmg.app.dev"'
,
currentVersion
:
'"1.
3.9
"'
currentVersion
:
'"1.
4.0
"'
}
src/main.js
View file @
1ea020b0
...
...
@@ -58,10 +58,10 @@ import Jpush from './scripts/jpushService'
import
Jmessage
from
'./scripts/jmessageService'
//
if (process.env.CONFIG_ENV === 'uat') {
//
const VConsole = require('vconsole')
//
new VConsole() // eslint-disable-line
//
}
if
(
process
.
env
.
CONFIG_ENV
===
'uat'
)
{
const
VConsole
=
require
(
'vconsole'
)
new
VConsole
()
// eslint-disable-line
}
Vue
.
use
(
componentInstall
)
Vue
.
use
(
components
)
...
...
@@ -122,9 +122,9 @@ let backButtonPressedOnceToExit
vum
.
$vumPlatform
.
ready
(
function
()
{
if
((
vum
.
Platform
.
isAndroid
())
||
(
vum
.
Platform
.
isIOS
()))
{
/* window.getRegistrationID = function (callback){
/* window.getRegistrationID = function (callback){
callback('')
}*/
}
*/
try
{
setTimeout
(
function
()
{
navigator
.
splashscreen
.
hide
()
...
...
src/scripts/hlsHttp.js
View file @
1ea020b0
...
...
@@ -37,6 +37,10 @@ axios.interceptors.response.use(response => {
return
Promise
.
resolve
(
err
)
}
else
if
(
response
.
code
===
'404'
)
{
hlsPopup
.
showError
(
'未找到资源文件'
)
return
Promise
.
resolve
(
'未找到资源文件'
)
}
else
if
(
!
response
.
data
.
success
)
{
hlsPopup
.
showError
(
response
.
data
.
error
.
message
)
return
Promise
.
resolve
(
response
.
data
.
error
.
message
)
}
else
{
return
response
.
data
}
...
...
www.zip
deleted
100644 → 0
View file @
a6532da7
File deleted
www/index.html
View file @
1ea020b0
<!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>
\ No newline at end of file
<!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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment