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
8cdaf4ef
Commit
8cdaf4ef
authored
Apr 14, 2020
by
yun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返回按钮log
parent
1358d259
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
index.vue
src/components/Search/index.vue
+1
-1
mt-utils.js
src/utils/mt-utils.js
+4
-4
No files found.
src/components/Search/index.vue
View file @
8cdaf4ef
...
@@ -423,7 +423,7 @@ export default {
...
@@ -423,7 +423,7 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
console
.
log
(
'
2.2
4确实修改了'
)
console
.
log
(
'
4.1
4确实修改了'
)
}
}
}
}
</
script
>
</
script
>
...
...
src/utils/mt-utils.js
View file @
8cdaf4ef
...
@@ -25,7 +25,7 @@ export function getSystem() {
...
@@ -25,7 +25,7 @@ export function getSystem() {
* 目前使用: close(关闭当前webview)
* 目前使用: close(关闭当前webview)
* @param name(String) 发送的消息String
* @param name(String) 发送的消息String
*/
*/
/*
export function sendInfoToJava(name) {
export
function
sendInfoToJava
(
name
)
{
if
(
name
===
'close'
)
{
if
(
name
===
'close'
)
{
localStorage
.
removeItem
(
'task_accessToken'
)
localStorage
.
removeItem
(
'task_accessToken'
)
localStorage
.
removeItem
(
'task_refreshToken'
)
localStorage
.
removeItem
(
'task_refreshToken'
)
...
@@ -41,8 +41,8 @@ export function getSystem() {
...
@@ -41,8 +41,8 @@ export function getSystem() {
console
.
log
(
error
)
console
.
log
(
error
)
}
}
})
})
}
*/
}
export
function
sendInfoToJava
(
name
)
{
/*
export function sendInfoToJava(name) {
var u = navigator.userAgent, app = navigator.appVersion,
var u = navigator.userAgent, app = navigator.appVersion,
isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1 // 如果输出结果是true就判定是android终端或者uc浏览器
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终端
// var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //根据输出结果true或者false来判断ios终端
...
@@ -63,7 +63,7 @@ export function sendInfoToJava(name) {
...
@@ -63,7 +63,7 @@ export function sendInfoToJava(name) {
localStorage.removeItem('task_accessToken')
localStorage.removeItem('task_accessToken')
localStorage.removeItem('task_refreshToken')
localStorage.removeItem('task_refreshToken')
}
}
}
}
*/
// /**
// /**
// * 关闭从原生APP进入后的进度条
// * 关闭从原生APP进入后的进度条
// */
// */
...
...
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