diff --git a/.env b/.env index 941bce6..af2257a 100644 --- a/.env +++ b/.env @@ -12,4 +12,5 @@ VITE_BOE_EXAM_DETAIL_URL=https://u-pre.boe.com/pc/exam/test?id= VITE_BOE_API_URL=https://u-pre.boe.com -VITE_TASK_WHITE_TYPE=-8-,-12-,-13- \ No newline at end of file +VITE_TASK_WHITE_TYPE=-8-,-12-,-13- +# VITE_TASK_WHITE_TYPE=-8-,-12- \ No newline at end of file diff --git a/src/api/api.js b/src/api/api.js index 1cb1b66..1efbb2f 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -2,13 +2,13 @@ * @Author: lixg lixg@dongwu-inc.com * @Date: 2022-12-11 16:57:58 * @LastEditors: lixg lixg@dongwu-inc.com - * @LastEditTime: 2022-12-17 14:59:41 + * @LastEditTime: 2022-12-17 19:19:17 * @FilePath: /fe-stu/src/api/api.js * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE */ export const LOGIN = '/admin/CheckUser/userLogin post' // export const FILE_UPLOAD = 'http://111.231.196.214:30001/file/upload' -export const FILE_UPLOAD = import.meta.env.VITE_BASE_API + '/file/upload' +export const FILE_UPLOAD = '/file/upload' export const COMMON_TOKEN = 'https://upload-z2.qiniup.com' export const ROUTER_CHAPTER_LIST = '/stu/router/chapterList' export const ROUTER_LIST = '/stu/router/list post' diff --git a/src/views/faceteach/FaceTeach.vue b/src/views/faceteach/FaceTeach.vue index 1633595..7a8bba6 100644 --- a/src/views/faceteach/FaceTeach.vue +++ b/src/views/faceteach/FaceTeach.vue @@ -42,8 +42,7 @@ class="btn" style="margin-right: 20px" :style="{ - background: - data.signFlag || !isAllowSign ? '#999' : 'rgb(57, 146, 249)', + background: data.signFlag ? '#999' : 'rgb(57, 146, 249)', }" @click="signClick" >{{ data.signFlag ? "已签到" : "签到" }} @@ -226,13 +225,18 @@ diff --git a/src/views/project/ProjectDetails.vue b/src/views/project/ProjectDetails.vue index b65e4b7..b52bf1e 100644 --- a/src/views/project/ProjectDetails.vue +++ b/src/views/project/ProjectDetails.vue @@ -15,23 +15,25 @@
+
+