diff --git a/.env.development b/.env.development index 5524433..e682d46 100644 --- a/.env.development +++ b/.env.development @@ -4,7 +4,7 @@ ENV = 'development' # base api # VUE_APP_BASE_API = '/dev-api' VUE_APP_BASE_API = 'http://117.50.215.20:20400' -# VUE_APP_BASE_API = 'http://yruibao.com:81' +# VUE_APP_BASE_API = 'https://yruibao.com' # vue-cli uses the VUE_CLI_BABEL_TRANSPILE_MODULES environment variable, diff --git a/.env.production b/.env.production index aab6e76..7e04a43 100644 --- a/.env.production +++ b/.env.production @@ -4,4 +4,5 @@ ENV = 'production' # base api # VUE_APP_BASE_API = '/prod-api' VUE_APP_BASE_API = 'http://117.50.215.20:20400' +# VUE_APP_BASE_API = 'https://yruibao.com' diff --git a/.env.staging b/.env.staging index 615c0b7..a979429 100644 --- a/.env.staging +++ b/.env.staging @@ -2,5 +2,6 @@ ENV = 'production' # base api # VUE_APP_BASE_API = '/prod-api' +# VUE_APP_BASE_API = 'https://yruibao.com' VUE_APP_BASE_API = 'http://127.0.0.1:8080' diff --git a/src/views/channel/index.vue b/src/views/channel/index.vue index 6079301..32515c5 100644 --- a/src/views/channel/index.vue +++ b/src/views/channel/index.vue @@ -227,6 +227,11 @@ export default { this.getList(); }, methods: { + handleClose() { + this.userPrams.page=1 + this.listPrams.page=1 + this.dialogVisibles = false; + }, pageChange(page) { this.tableFrom.page = page; this.getList(); @@ -241,13 +246,14 @@ export default { }, userhandleSizeChange(val){ this.userPrams.limit = val; - this.gettodaylist() + this.getuserlist() }, todaypageChange(page){ this.listPrams.page = page; - this.getuserlist() + this.gettodaylist() }, userpageChange(page){ + this.userPrams.page = page; this.getuserlist() },