Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
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
easyUI
hls-easy-ui
Commits
89cc875d
Commit
89cc875d
authored
May 08, 2019
by
Nature
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vuePlatform
parent
a6966c7a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
vuePlatform.js
packages/common/scripts/vuePlatform.js
+5
-5
No files found.
packages/common/scripts/vuePlatform.js
View file @
89cc875d
...
@@ -215,7 +215,7 @@
...
@@ -215,7 +215,7 @@
self
.
platforms
=
[]
self
.
platforms
=
[]
var
grade
=
'a'
var
grade
=
'a'
if
(
self
.
isWebView
())
{
/*
if (self.isWebView()) {
self.platforms.push('webview')
self.platforms.push('webview')
if (!(!window.cordova && !window.PhoneGap && !window.phonegap)) {
if (!(!window.cordova && !window.PhoneGap && !window.phonegap)) {
self.platforms.push('cordova')
self.platforms.push('cordova')
...
@@ -225,13 +225,13 @@
...
@@ -225,13 +225,13 @@
} else {
} else {
self.platforms.push('browser')
self.platforms.push('browser')
}
}
if
(
self
.
isIPad
())
self
.
platforms
.
push
(
'ipad'
)
if (self.isIPad()) self.platforms.push('ipad')
*/
var
platform
=
self
.
platform
()
var
platform
=
self
.
platform
()
if
(
platform
)
{
if
(
platform
)
{
self
.
platforms
.
push
(
platform
)
self
.
platforms
.
push
(
platform
)
var
version
=
self
.
version
()
/*
var version = self.version()
if (version) {
if (version) {
var v = version.toString()
var v = version.toString()
if (v.indexOf('.') > 0) {
if (v.indexOf('.') > 0) {
...
@@ -247,10 +247,10 @@
...
@@ -247,10 +247,10 @@
} else if (self.isWindowsPhone()) {
} else if (self.isWindowsPhone()) {
grade = 'b'
grade = 'b'
}
}
}
}
*/
}
}
self
.
setGrade
(
grade
)
//
self.setGrade(grade)
},
},
/**
/**
...
...
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