【修改】前端试题界面,推送试题按钮权限,细节优化

This commit is contained in:
YOHO\20373
2025-05-23 11:13:17 +08:00
parent 79aed6696c
commit 441f109cf7
16 changed files with 205 additions and 25 deletions

View File

@@ -200,13 +200,8 @@ const fetchSpecialtyOptions = async () => {
/** 弹窗打开事件 */
const open = () => {
if (props.data) {
assignFields(props.data);
isUpdate.value = true;
} else {
resetFields();
isUpdate.value = false;
}
// 设置批次为 当前时间 + 5位随机数
const now = new Date();
const pad = (n) => n.toString().padStart(2, '0');