附件样式

This commit is contained in:
zhangyc
2022-12-24 10:10:47 +08:00
parent c3fc222913
commit 48206694f3
4 changed files with 28 additions and 19 deletions

View File

@@ -434,12 +434,18 @@ export default {
clearAll();
state.addLoading = false;
};
const afterVisibleChange = () => {
const afterVisibleChange = (bool) => {
console.log("props", props);
if (props.addtestVisible && props.edit) {
// 该页面显示同时 edit为true 时,发送查询请求,
queryTest();
}
if(bool){
state.test.showAnswers = 1;
state.test.showAnalysis = 1;
state.test.scoringModel = 2;
state.test.questionArrangement = 4;
}
};
const selectTest = () => {
state.STvisible = true;