Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
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
new-sing
h5-base
Commits
488d66ca
Commit
488d66ca
authored
Sep 04, 2019
by
chenyishuai@singsingenglish.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
推送看课
parent
8aae6476
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
index.vue
src/components/index.vue
+1
-1
index.vue
src/components/map/index.vue
+5
-4
main.js
src/main.js
+3
-4
No files found.
src/components/index.vue
View file @
488d66ca
...
...
@@ -144,7 +144,7 @@
ref=
"bbda"
v-if=
"!userCourse.start_periods_id"
@
click=
"toBbda($event)"
></div>
></div>
<!--
<div
class=
"btn toBbda"
ref=
"bbda"
@
click=
"toBbda($event)"
>
</div>
-->
<div
...
...
src/components/map/index.vue
View file @
488d66ca
...
...
@@ -323,8 +323,9 @@
// 从微信推送进入
getCourseInfoApi
(
this
.
$route
.
query
.
periods_id
).
then
(
res
=>
{
localStorage
.
setItem
(
'userCourse'
,
''
);
this
.
userCourse
=
Object
.
assign
({},
res
)
localStorage
.
setItem
(
'userCourse'
,
JSON
.
stringify
(
this
.
userCourse
));
// this.$commom.deepCopy(res)
this
.
userCourse
=
this
.
$common
.
deepCopy
(
res
)
localStorage
.
setItem
(
'userCourse'
,
JSON
.
stringify
(
res
));
this
.
setCourse
()
})
}
else
{
...
...
@@ -334,8 +335,8 @@
}
else
{
getCourseInfoApi
().
then
(
res
=>
{
localStorage
.
setItem
(
'userCourse'
,
''
);
this
.
userCourse
=
Object
.
assign
({},
res
)
localStorage
.
setItem
(
'userCourse'
,
JSON
.
stringify
(
this
.
userCourse
));
this
.
userCourse
=
this
.
$common
.
deepCopy
(
res
)
localStorage
.
setItem
(
'userCourse'
,
JSON
.
stringify
(
res
));
this
.
setCourse
()
})
}
...
...
src/main.js
View file @
488d66ca
...
...
@@ -37,12 +37,11 @@ const errorHandler = (error, vm)=>{
}
Vue
.
config
.
errorHandler
=
errorHandler
;
Vue
.
prototype
.
$throw
=
(
error
)
=>
errorHandler
(
error
,
this
);
Vue
.
prototype
.
$common
=
common
//VConsole关闭屏蔽代码
if
(
process
.
env
.
NODE_ENV
!=
'production'
)
{
new
VConsole
();
}
//
if (process.env.NODE_ENV != 'production') {
//
new VConsole();
//
}
router
.
beforeEach
((
to
,
from
,
next
)
=>
{
next
()
...
...
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