This commit is contained in:
2025-09-25 12:12:28 +08:00
parent 81fd7352db
commit bcb8cfb3c0
2 changed files with 3 additions and 2 deletions

View File

@ -100,6 +100,8 @@ const init = (type, row) => {
title.value = type == "add" ? "新增" : type == "edit" ? "编辑" : "详情";
if(row){
qcckPost({},`/mosty-base/baxx/tkgl/getInfo/${row.id}`).then(res=>{
res.correctAnswer = res.type == '02'? res.correctAnswer.split(','):res.correctAnswer;
multiple.value = res.type == '02' ? true:false;
listQuery.value = res
})
}
@ -139,6 +141,7 @@ const save = () => {
const close = () => {
dialogForm.value = false;
listQuery.value = { }
multiple.value = false;
FormRef.value.reset()
};;