路由跳转
This commit is contained in:
@@ -42,7 +42,6 @@
|
||||
getPreviewUrlBlob(id) {
|
||||
// this.imgUrlShow = '@/static/images/index/message_b.png'
|
||||
previewFile(id).then((res) => {
|
||||
console.log(res)
|
||||
this.imgUrlShow = URL.createObjectURL(res);
|
||||
// const reader = new FileReader();
|
||||
// reader.readAsDataURL(res)
|
||||
|
||||
@@ -259,8 +259,7 @@ import { onMounted, ref, computed } from 'vue'
|
||||
}
|
||||
// 跳转 课程详情
|
||||
const toCourseDetail = (item) => {
|
||||
console.log(item.crsNum)
|
||||
// common.navigateTo('/pages/course/detail/' + item.crsNum)
|
||||
common.navigateTo('/pages/courseDetail/index?crsNum=' + item.crsNum)
|
||||
}
|
||||
onMounted(()=>{
|
||||
getCourseTypeListApi().then(res=>{
|
||||
|
||||
Reference in New Issue
Block a user