允许更换url
This commit is contained in:
@@ -58,9 +58,9 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
let {current, total, name: con} = this
|
let {current, total, name: con, $route: {query: {action}}} = this
|
||||||
if (total == 0 || current <= total) {
|
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}
|
params: {current, size: 20, con}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user