Merge branch 'main' of http://gitea.yunhaixingtong.com/lijing/BSchClassManageFront
deploy-bschclass-front / build-and-deploy (push) Successful in 8m30s
deploy-bschclass-front / build-and-deploy (push) Successful in 8m30s
This commit is contained in:
@@ -56,7 +56,10 @@ jobs:
|
|||||||
# 去掉 Windows 专用 sass 二进制路径(Linux 容器内该路径无效,否则 build 报错)
|
# 去掉 Windows 专用 sass 二进制路径(Linux 容器内该路径无效,否则 build 报错)
|
||||||
# .npmrc 被 gitignore、CI 克隆下来没有它,故仅在存在时才删(缺失不报错)
|
# .npmrc 被 gitignore、CI 克隆下来没有它,故仅在存在时才删(缺失不报错)
|
||||||
if [ -f .npmrc ]; then sed -i "/SASS_BINARY_PATH/d" .npmrc; fi
|
if [ -f .npmrc ]; then sed -i "/SASS_BINARY_PATH/d" .npmrc; fi
|
||||||
npm ci
|
# 用 npm install 而非 npm ci:仓库 package-lock.json 与 package.json 不同步
|
||||||
|
#(sortablejs 锁 1.10.2 但 package.json 要求 1.15.7),npm ci 会强校验同步而失败;
|
||||||
|
# npm install 会按 package.json 重新对齐 lock 并安装,避免阻塞部署。
|
||||||
|
npm install
|
||||||
npm run build
|
npm run build
|
||||||
'
|
'
|
||||||
|
|
||||||
|
|||||||
+10
-2
@@ -106,7 +106,8 @@ export default {
|
|||||||
APIConfig.Base.GetUserMod,
|
APIConfig.Base.GetUserMod,
|
||||||
null,
|
null,
|
||||||
resp => {
|
resp => {
|
||||||
let resps={"code":0,"msg":"","data":
|
let resps = {
|
||||||
|
"code": 0, "msg": "", "data":
|
||||||
[
|
[
|
||||||
{ "id": 1493, "appId": 551, "modId": 1, "name": "学制选择", "parentId": 0, "path": null, "level": 0, "page": "/", "icon": null, "orderNumber": 1493, "usable": true, "children": [], "modules": [] },
|
{ "id": 1493, "appId": 551, "modId": 1, "name": "学制选择", "parentId": 0, "path": null, "level": 0, "page": "/", "icon": null, "orderNumber": 1493, "usable": true, "children": [], "modules": [] },
|
||||||
{ "id": 1494, "appId": 551, "modId": 2, "name": "时段设置", "parentId": 0, "path": null, "level": 0, "page": "/itemSet", "icon": null, "orderNumber": 1494, "usable": true, "children": [], "modules": [] },
|
{ "id": 1494, "appId": 551, "modId": 2, "name": "时段设置", "parentId": 0, "path": null, "level": 0, "page": "/itemSet", "icon": null, "orderNumber": 1494, "usable": true, "children": [], "modules": [] },
|
||||||
@@ -123,7 +124,8 @@ export default {
|
|||||||
{ "id": 1494, "appId": 551, "modId": 13, "name": "教师转入管理", "parentId": 0, "path": null, "level": 0, "page": "/zhuanruinfo", "icon": null, "orderNumber": 1494, "usable": true, "children": [], "modules": [] },
|
{ "id": 1494, "appId": 551, "modId": 13, "name": "教师转入管理", "parentId": 0, "path": null, "level": 0, "page": "/zhuanruinfo", "icon": null, "orderNumber": 1494, "usable": true, "children": [], "modules": [] },
|
||||||
{ "id": 1494, "appId": 551, "modId": 14, "name": "学生转入管理", "parentId": 0, "path": null, "level": 0, "page": "/zhuanruinfostu", "icon": null, "orderNumber": 1494, "usable": true, "children": [], "modules": [] },
|
{ "id": 1494, "appId": 551, "modId": 14, "name": "学生转入管理", "parentId": 0, "path": null, "level": 0, "page": "/zhuanruinfostu", "icon": null, "orderNumber": 1494, "usable": true, "children": [], "modules": [] },
|
||||||
{ "id": 1494, "appId": 551, "modId": 15, "name": "日志管理", "parentId": 0, "path": null, "level": 0, "page": "/dailySearch", "icon": null, "orderNumber": 1494, "usable": true, "children": [], "modules": [] },
|
{ "id": 1494, "appId": 551, "modId": 15, "name": "日志管理", "parentId": 0, "path": null, "level": 0, "page": "/dailySearch", "icon": null, "orderNumber": 1494, "usable": true, "children": [], "modules": [] },
|
||||||
],"timeNow":"2026-06-17 14:44:05"}
|
], "timeNow": "2026-06-17 14:44:05"
|
||||||
|
}
|
||||||
resolve(resps.data);
|
resolve(resps.data);
|
||||||
},
|
},
|
||||||
error => reject(error)
|
error => reject(error)
|
||||||
@@ -222,16 +224,19 @@ export default {
|
|||||||
.mop-load-div {
|
.mop-load-div {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 开始过渡阶段,动画出去阶段 */
|
/* 开始过渡阶段,动画出去阶段 */
|
||||||
.fade-enter-active,
|
.fade-enter-active,
|
||||||
.fade-leave-active {
|
.fade-leave-active {
|
||||||
transition: all 1ms cubic-bezier(0, 0.99, 1, 0.03);
|
transition: all 1ms cubic-bezier(0, 0.99, 1, 0.03);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 进入开始 */
|
/* 进入开始 */
|
||||||
.fade-enter {
|
.fade-enter {
|
||||||
// transform: translateY(10px);
|
// transform: translateY(10px);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 出去终点 */
|
/* 出去终点 */
|
||||||
.fade-leave-active {
|
.fade-leave-active {
|
||||||
// transform: translateY(-10px);
|
// transform: translateY(-10px);
|
||||||
@@ -242,14 +247,17 @@ export default {
|
|||||||
.back-leave-active {
|
.back-leave-active {
|
||||||
transition: all 1ms cubic-bezier(0, 0.99, 1, 0.03);
|
transition: all 1ms cubic-bezier(0, 0.99, 1, 0.03);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 进入开始 */
|
/* 进入开始 */
|
||||||
.back-enter {
|
.back-enter {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 出去终点 */
|
/* 出去终点 */
|
||||||
.back-leave-active {
|
.back-leave-active {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#app {
|
#app {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user