更新
This commit is contained in:
@ -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()
|
||||
};;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user