Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mt-education-mobile
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
王旭
mt-education-mobile
Commits
20189607
Commit
20189607
authored
Dec 27, 2019
by
yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
23498 ios,新建培训页面不可下拉滑动
parent
70aeaebf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
mt-utils.js
src/utils/mt-utils.js
+4
-5
index.vue
src/views/addTrain/index.vue
+1
-0
No files found.
src/utils/mt-utils.js
View file @
20189607
...
...
@@ -25,7 +25,7 @@ export function getSystem() {
* 目前使用: close(关闭当前webview)
* @param name(String) 发送的消息String
*/
export
function
sendInfoToJava
(
name
)
{
/*
export function sendInfoToJava(name) {
if (name === 'close') {
localStorage.removeItem('task_accessToken')
localStorage.removeItem('task_refreshToken')
...
...
@@ -41,8 +41,8 @@ export function sendInfoToJava(name) {
console.log(error)
}
})
}
/*
export function sendInfoToJava(name) {
}
*/
export
function
sendInfoToJava
(
name
)
{
var
u
=
navigator
.
userAgent
,
app
=
navigator
.
appVersion
,
isAndroid
=
u
.
indexOf
(
'Android'
)
>
-
1
||
u
.
indexOf
(
'Linux'
)
>
-
1
// 如果输出结果是true就判定是android终端或者uc浏览器
// var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //根据输出结果true或者false来判断ios终端
...
...
@@ -63,8 +63,7 @@ export function sendInfoToJava(name) {
localStorage
.
removeItem
(
'task_accessToken'
)
localStorage
.
removeItem
(
'task_refreshToken'
)
}
} */
}
// /**
// * 关闭从原生APP进入后的进度条
// */
...
...
src/views/addTrain/index.vue
View file @
20189607
...
...
@@ -1156,6 +1156,7 @@ export default {
background: #f7f7f7;
}
.form-data{
height: calc(100vh - 12.26667vw);
.title{
width: 100%;
height: 44px;
...
...
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