This commit is contained in:
parent
78f2538081
commit
8df205d179
|
@ -478,9 +478,7 @@ export default {
|
||||||
handleRegex(val) {
|
handleRegex(val) {
|
||||||
const regex = /\/([^\/]+)$/;
|
const regex = /\/([^\/]+)$/;
|
||||||
const match = val.match(regex);
|
const match = val.match(regex);
|
||||||
console.log(match[1]);
|
return !!match ? match[1] : val;
|
||||||
|
|
||||||
return !!match[1] ? match[1] : val;
|
|
||||||
},
|
},
|
||||||
handleFilter() {
|
handleFilter() {
|
||||||
this.listQuery.page = 1;
|
this.listQuery.page = 1;
|
||||||
|
|
Loading…
Reference in New Issue