提交 81039761 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 617011b9
......@@ -34,7 +34,7 @@ export default {
return this.list
}
return this.list.filter(item => {
return item.course_name.includes(this.searchValue)
return item.course_name.includes(this.searchValue.trim())
})
}
},
......
......@@ -5,7 +5,7 @@
<el-input v-model="ruleForm.student_info.college" disabled></el-input>
</el-form-item>
<el-form-item label="学院名称" prop="school">
<el-input v-model="ruleForm.student_info.school" disabled></el-input>
<el-input v-model="ruleForm.student_info.school_name" disabled></el-input>
</el-form-item>
<el-form-item label="专业名称" prop="major">
<el-input v-model="ruleForm.student_info.major" disabled></el-input>
......@@ -19,9 +19,9 @@
<el-form-item label="身份证号码" prop="id_number">
<el-input v-model="ruleForm.student_info.id_number" disabled></el-input>
</el-form-item>
<el-form-item label="身份" prop="role">
<!-- <el-form-item label="身份" prop="role">
<el-input v-model="ruleForm.student_info.role" disabled></el-input>
</el-form-item>
</el-form-item> -->
<el-form-item label="登录帐号" prop="mobile">
<el-input v-model="ruleForm.mobile" disabled></el-input>
</el-form-item>
......
......@@ -297,12 +297,12 @@ export default {
},
// 加载部分试题
supplyRequest(n) {
const loading = this.$loading({
lock: true,
text: 'Loading',
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
// const loading = this.$loading({
// lock: true,
// text: 'Loading',
// spinner: 'el-icon-loading',
// background: 'rgba(0, 0, 0, 0.7)'
// })
this.getTopic(parseInt((n ? this.questionParams.questionIndex + 2 : this.questionParams.questionIndex - 2) / 20) + 1, data => {
if (this.container.length >= 40) {
n ? this.container.splice(0, 20) : this.container.splice(20, 20)
......@@ -312,7 +312,7 @@ export default {
}
this.questionData.list = this.container
this.changeData()
loading.close()
// loading.close()
})
},
addCont(data, n) {
......
......@@ -14,18 +14,10 @@ export default {
data() {
return {
list: [
{
title: '给组件绑定的事件为什么无法触发?',
content: '在 Vue 2.0 中,为自定义组件绑定原生事件必须使用 .native 修饰符'
},
{
title: '给组件绑定的事件为什么无法触发?',
content: '在 Vue 2.0 中,为自定义组件绑定原生事件必须使用 .native 修饰符'
},
{
title: '给组件绑定的事件为什么无法触发?',
content: '在 Vue 2.0 中,为自定义组件绑定原生事件必须使用 .native 修饰符'
}
// {
// title: '给组件绑定的事件为什么无法触发?',
// content: '在 Vue 2.0 中,为自定义组件绑定原生事件必须使用 .native 修饰符'
// }
]
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论