修复部分BUG
This commit is contained in:
parent
e3bde0a370
commit
6759df96b2
File diff suppressed because one or more lines are too long
2
dist/index.html
vendored
2
dist/index.html
vendored
@ -1 +1 @@
|
|||||||
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>NEU小站课程评分系统</title><script defer="defer" src="/js/chunk-vendors.3aa9144b.js"></script><script defer="defer" src="/js/app.bd05d3a1.js"></script><link href="/css/chunk-vendors.f2db5e15.css" rel="stylesheet"><link href="/css/app.65149fb7.css" rel="stylesheet"></head><body><noscript><strong>本系统需要JavaScript支持,请启用JavaScript后继续。</strong></noscript><div id="app"></div></body></html>
|
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>NEU小站课程评分系统</title><script defer="defer" src="/js/chunk-vendors.3aa9144b.js"></script><script defer="defer" src="/js/app.728d115f.js"></script><link href="/css/chunk-vendors.f2db5e15.css" rel="stylesheet"><link href="/css/app.4157a502.css" rel="stylesheet"></head><body><noscript><strong>本系统需要JavaScript支持,请启用JavaScript后继续。</strong></noscript><div id="app"></div></body></html>
|
2
dist/js/app.728d115f.js
vendored
Normal file
2
dist/js/app.728d115f.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
dist/js/app.bd05d3a1.js
vendored
2
dist/js/app.bd05d3a1.js
vendored
File diff suppressed because one or more lines are too long
@ -67,7 +67,7 @@
|
|||||||
: '该用户暂未对课程进行评分'
|
: '该用户暂未对课程进行评分'
|
||||||
}}
|
}}
|
||||||
</span>
|
</span>
|
||||||
<el-button @click="loadCourseDetail(selectedCourseId)">查看课程</el-button>
|
<el-button @click="selectedCourseId && loadCourseDetail(selectedCourseId)">查看课程</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-scrollbar ref="messageScrollbar" class="message-list">
|
<el-scrollbar ref="messageScrollbar" class="message-list">
|
||||||
@ -107,6 +107,7 @@
|
|||||||
|
|
||||||
<!-- 调用 CourseDetailModal 组件,传入选中的课程 -->
|
<!-- 调用 CourseDetailModal 组件,传入选中的课程 -->
|
||||||
<CourseDetailModal
|
<CourseDetailModal
|
||||||
|
v-if="selectedCourse"
|
||||||
:isVisible="showDetail"
|
:isVisible="showDetail"
|
||||||
:course="selectedCourse"
|
:course="selectedCourse"
|
||||||
@close="closeCourseDetail"
|
@close="closeCourseDetail"
|
||||||
|
@ -222,8 +222,9 @@ export default {
|
|||||||
await Promise.all([
|
await Promise.all([
|
||||||
this.fetchAndCacheEmail(), // 先缓存邮箱
|
this.fetchAndCacheEmail(), // 先缓存邮箱
|
||||||
this.fetchRatingDistribution(),
|
this.fetchRatingDistribution(),
|
||||||
this.fetchUserRating()
|
this.fetchUserRating(),
|
||||||
// this.fetchComments()
|
this.fetchComments(),
|
||||||
|
this.fetchAISummary()
|
||||||
]);
|
]);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error loading data:', error);
|
console.error('Error loading data:', error);
|
||||||
@ -231,6 +232,8 @@ export default {
|
|||||||
}
|
}
|
||||||
// this.loading = false; // 加载完成后,无论成功或失败,都应关闭加载状态
|
// this.loading = false; // 加载完成后,无论成功或失败,都应关闭加载状态
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// 暂时不需要,因为每次selectedCourse改变时,都会挂载一个新的CourseDetailModal组件
|
||||||
watch: {
|
watch: {
|
||||||
async course(newCourse) {
|
async course(newCourse) {
|
||||||
if (newCourse && newCourse.course_id) {
|
if (newCourse && newCourse.course_id) {
|
||||||
|
@ -97,6 +97,7 @@
|
|||||||
|
|
||||||
<!-- 调用 CourseDetailModal 组件,传入选中的课程 -->
|
<!-- 调用 CourseDetailModal 组件,传入选中的课程 -->
|
||||||
<CourseDetailModal
|
<CourseDetailModal
|
||||||
|
v-if="selectedCourse"
|
||||||
:isVisible="showDetail"
|
:isVisible="showDetail"
|
||||||
:course="selectedCourse"
|
:course="selectedCourse"
|
||||||
@close="closeCourseDetail"
|
@close="closeCourseDetail"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user