diff --git a/.env.development b/.env.development
index e4b66e61..b1d572ea 100644
--- a/.env.development
+++ b/.env.development
@@ -10,7 +10,7 @@ ENV = 'development'
VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001'
# http://25.18.122.65:7001/download/dev-jax.apk
# app入口
-# VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
+#VITE_APP_BASE_API_Url = 'http://25.18.122.65:7001'
# VITE_APP_BASE_API_Url = 'http://25.16.122.65:7001'
# VITE_APP_BASE_API_Url = 'http://25.18.122.66:9786'
diff --git a/Android/local.properties b/Android/local.properties
index 628cff03..8fa08ca9 100644
--- a/Android/local.properties
+++ b/Android/local.properties
@@ -4,6 +4,5 @@
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
-#Wed Jul 02 20:55:16 CST 2025
-# sdk.dir=C\:\\Users\\ty\\AppData\\Local\\Android\\Sdk
-sdk.dir=/data/jenkins/agent/workspace/tra-app-build-test/android-sdk
\ No newline at end of file
+#Thu Jul 03 09:46:08 CST 2025
+sdk.dir=C\:\\Users\\ty\\AppData\\Local\\Android\\Sdk
diff --git a/src/api/login.js b/src/api/login.js
index 648f0013..893c4dba 100644
--- a/src/api/login.js
+++ b/src/api/login.js
@@ -128,6 +128,13 @@ export const getYsxy = (data) => request({
data
})
+//获取服务条款
+export const getFutk = (data) => request({
+ url: '/traapp/dfAgtInfo/queryValidDfAgtTerm',
+ method: 'post',
+ data
+})
+
// 获取验证码(作废)
export const getLoginAppCheckCode = (data) => request({
url: '/traapp/access/checkCode',
diff --git a/src/components/picture-upload/picture-upload.vue b/src/components/picture-upload/picture-upload.vue
index a05e2990..46c17667 100644
--- a/src/components/picture-upload/picture-upload.vue
+++ b/src/components/picture-upload/picture-upload.vue
@@ -13,11 +13,9 @@
import {
ref,
reactive,
- defineEmits,
onMounted,
computed,
- watch,
-
+ watch
} from 'vue'
import common from '@/common/common'
diff --git a/src/pages/courseDetail/components/comment.vue b/src/pages/courseDetail/components/comment.vue
index 3ea59a4b..44dce679 100644
--- a/src/pages/courseDetail/components/comment.vue
+++ b/src/pages/courseDetail/components/comment.vue
@@ -106,7 +106,7 @@
import {
qryTraCrsBbsDataByCrsNum,
replyTraCrsBbsInfo,
- qryChildTraCrsBbsInfo,
+ qryChildTraCrsBbsInfo
} from '@/api/courseDetail.js';
import common from '@/common/common.js'
const popup = ref(null)
@@ -160,8 +160,7 @@
common.hideLoading()
}
}
-
- onMounted(() => {
+ const getData = () => {
qryTraCrsBbsDataByCrsNum({
crsNum: props.crsNum
}).then(({
@@ -169,6 +168,10 @@
}) => {
Object.assign(message_list, body)
})
+ }
+ defineExpose({getData})
+ onMounted(() => {
+ getData()
})
diff --git a/src/pages/courseDetail/index.vue b/src/pages/courseDetail/index.vue
index 50018643..5f180675 100644
--- a/src/pages/courseDetail/index.vue
+++ b/src/pages/courseDetail/index.vue
@@ -37,7 +37,7 @@
-
+
@@ -48,12 +48,12 @@
@click="common.navigateTo('/pages/course/study?crsNum='+crsNum+'&crsId='+form.crsId)">去学习
去练习
去考试
-
+
-
+
@@ -64,7 +64,7 @@
ref
} from 'vue';
import {
- onLoad
+ onLoad,onShow
} from '@dcloudio/uni-app';
import {
getCourseDetailApi
@@ -83,6 +83,7 @@
}, {
name: '评价'
}]);
+ const commentRef = ref(null);
const form = ref({});
const crsNum = ref('');
const tabAct = ref(0);
@@ -101,6 +102,11 @@
crsNum.value = params.crsNum;
getData();
});
+ onShow(() => {
+ if (common.getPageCache('GLOBAL_TRIGGER_UPDATE_REFRESH_KEY')) {
+ commentRef.value.getData();
+ }
+ });