diff --git a/.env.development b/.env.development index f8eaae4..b58a810 100644 --- a/.env.development +++ b/.env.development @@ -7,8 +7,12 @@ VITE_PUBLIC_PATH = / # 开发环境路由历史模式(Hash模式传"hash"、HTML5模式传"h5"、Hash模式带base参数传"hash,base参数"、HTML5模式带base参数传"h5,base参数") VITE_ROUTER_HISTORY = "hash" -VITE_API_BASEURL = "http://192.168.2.33:5199/api" +# # 接口地址 +# VITE_API_BASEURL = "http://192.168.2.33:5199/api" +# #数据中心后台地址 +# VITE_API_USERCENTER_URL = "https://dca.w.23544.com:8843/api" + # 接口地址 -# VITE_API_BASEURL = "http://localhost:5199/api" +VITE_API_BASEURL = "https://learn-archives-admin-dev.23544.com/api" #数据中心后台地址 VITE_API_USERCENTER_URL = "https://dca.w.23544.com:8843/api" diff --git a/src/views/teacher/positionForm.vue b/src/views/teacher/positionForm.vue index 98693d0..641f0d3 100644 --- a/src/views/teacher/positionForm.vue +++ b/src/views/teacher/positionForm.vue @@ -163,19 +163,19 @@ -
+
{{ userType == 1 ? "就读班级" : "已选职位" }}[{{ selectPositions.length }}] - 提交分配职位 + +
+ 重置 + 提交分配职位 +
{ } }; +const reload = () => { + selectPositions.value = []; +}; const handleConfirm = () => { if (selectPositions.value.length === 0) { ElMessage.warning("请选择要分配的职位");