允许更换url

This commit is contained in:
aixianling
2022-05-20 11:20:25 +08:00
parent aa595387f8
commit 67ed75251f

View File

@@ -58,9 +58,9 @@ export default {
},
methods: {
getList() {
let {current, total, name: con} = this
let {current, total, name: con, $route: {query: {action}}} = this
if (total == 0 || current <= total) {
this.$http.post(`/admin/user/userIntegralList`, null, {
this.$http.post(action || `/admin/user/userIntegralList`, null, {
params: {current, size: 20, con}
}).then(res => {
if (res?.data) {