diff --git a/admin/src/views/qa/qa.vue b/admin/src/views/qa/qa.vue index 5d530974..f4f2c6b7 100644 --- a/admin/src/views/qa/qa.vue +++ b/admin/src/views/qa/qa.vue @@ -479,7 +479,12 @@ export default { const regex = /\/([^\/]+)$/; const match = val.match(regex); console.log(match[1]); - return match[1]; + + return !!match[1] ? match[1] : val; + }, + handleFilter() { + this.listQuery.page = 1; + this.getList(); }, onAdd() { this.anchors.qaQuestions = [