Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
0525c675
Commit
0525c675
authored
Jul 01, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整跳转
parent
e3506c0f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
course.vue
src/pages/course/course.vue
+7
-5
No files found.
src/pages/course/course.vue
View file @
0525c675
...
...
@@ -146,7 +146,7 @@
</q-item>
<q-item
clickable
v-close-popup
@
click=
"goMycourse(props.row)"
>
<q-item-section>
<q-item-label>
详情
</q-item-label>
<q-item-label>
课程
详情
</q-item-label>
</q-item-section>
</q-item>
</q-list>
...
...
@@ -172,6 +172,7 @@
import
courseForm
from
"../../components/course/course-form"
;
import
coursepriceForm
from
"../../components/course/courseprice-form"
;
import
selectTree
from
"../../components/common/select-tree"
;
import
{
openURL
}
from
"quasar"
;
import
{
mapState
}
from
"vuex"
;
...
...
@@ -449,10 +450,11 @@
},
//跳转至我的课程
goMycourse
(
obj
)
{
var
tempStr
=
"/course/courseinfo?CourseId="
+
obj
.
CourseId
;
this
.
$router
.
push
({
path
:
tempStr
});
var
tempStr
=
window
.
location
.
origin
+
"/#/course/courseinfo?CourseId="
+
obj
.
CourseId
;
// this.$router.push({
// path: tempStr
// });
openURL
(
tempStr
)
}
}
};
...
...
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