路由跳转

This commit is contained in:
yanghang
2025-06-19 19:17:41 +08:00
parent 746789edb3
commit 8104c5fce8
2 changed files with 1 additions and 3 deletions
@@ -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)
+1 -2
View File
@@ -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=>{