This commit is contained in:
faiz 2024-07-31 10:54:19 +08:00
parent 78f2538081
commit 8df205d179
1 changed files with 1 additions and 3 deletions

View File

@ -478,9 +478,7 @@ export default {
handleRegex(val) {
const regex = /\/([^\/]+)$/;
const match = val.match(regex);
console.log(match[1]);
return !!match[1] ? match[1] : val;
return !!match ? match[1] : val;
},
handleFilter() {
this.listQuery.page = 1;