Commit 92ab073e authored by linwenqing's avatar linwenqing

Merge branch 'dev-v1.0.0' of https://git.banshouhui.com/wuzhenzhe/study into dev-v1.0.0

parents 2467e3ad 333cdde1
......@@ -252,7 +252,6 @@ export default {
let res = await this.$u.api.getQuestionWarehouse(this.category.id, param)
if (res && res.length > 0) {
let data = res[0]
this.setPageInfo(data)
// 学员增加自己的题库
let result = await this.$u.api
.addQuestionWarehouse({
......@@ -263,6 +262,7 @@ export default {
})
if (result) {
this.setPageInfo(data)
// 成功
this.$refs.uToast.show({
title: '添加题库成功',
......@@ -280,10 +280,12 @@ export default {
}
} else {
this.$refs.uToast.show({
title: '所选科目没有对应的题库',
title: '该类型和区域没有的题库',
type: 'warning',
duration: 1500,
callback: () => {},
callback: () => {
this.showPop = false
},
})
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment