mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
feat:合并
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
</div>
|
||||
<div style="display: flex; flex-direction: row">
|
||||
<a-button style="width:100px;"
|
||||
@click="()=>{isOuter = 1}"
|
||||
@click="changeOuter(1)"
|
||||
:class="[isOuter == 1? 'outer' : '' ]">系统考试</a-button>
|
||||
<a-button style="width:100px;" @click="()=>{isOuter = 2}"
|
||||
<a-button style="width:100px;" @click="changeOuter(2)"
|
||||
:class="[isOuter == 2? 'outer' : '' ]" >外部考试</a-button>
|
||||
</div>
|
||||
<a-form
|
||||
@@ -551,6 +551,10 @@ export default {
|
||||
formState.questionArrangement = "";
|
||||
}
|
||||
}
|
||||
const changeOuter = (value) => {
|
||||
console.log(value)
|
||||
state.isOuter = value
|
||||
}
|
||||
return {
|
||||
formState,
|
||||
afterVisibleChange,
|
||||
@@ -569,6 +573,7 @@ export default {
|
||||
rules,
|
||||
updateTest,
|
||||
queryTest,
|
||||
changeOuter,
|
||||
...toRefs(state)
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user