diff --git a/README.en.md b/README.en.md index 5450375b..9ad8216b 100644 --- a/README.en.md +++ b/README.en.md @@ -1 +1,3 @@ -npm i --registry=http://25.12.10.69:8081/repository/aliyun-npm/ \ No newline at end of file +npm i --registry=http://25.12.10.69:8081/repository/aliyun-npm/ + +npm 淘宝源下载 :npm config set registry https://registry.npmmirror.com \ No newline at end of file diff --git a/src/pages/courseDetail/index.vue b/src/pages/courseDetail/index.vue index cf0236c4..f66eee9d 100644 --- a/src/pages/courseDetail/index.vue +++ b/src/pages/courseDetail/index.vue @@ -132,9 +132,13 @@ uni.$on('refresh_comment_data', () => { commentRef.value.getData(); }) + uni.$on('refresh_course_detail_data', () => { + getData(); + }) }); onUnload(() => { uni.$off('refresh_comment_data') + uni.$off('refresh_course_detail_data') });