【修改】前端试题界面,推送试题按钮权限,细节优化
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user