This commit is contained in:
yanran200730
2023-03-22 09:49:31 +08:00
parent 0f11adea01
commit 6e49980aee
3 changed files with 5 additions and 3 deletions

View File

@@ -194,7 +194,8 @@
withoutToken: true,
params: {
current: 1,
size: 100
size: 100,
status: 1
}
}).then(res => {
if (res.code === 0) {

View File

@@ -162,7 +162,8 @@ export default {
withoutToken: true,
params: {
current: 1,
size: 1000
size: 1000,
status: 1
}
}).then(res => {
if (res.code === 0) {

View File

@@ -32,7 +32,7 @@
methods: {
getList() {
if (this.current > this.pages) return
this.$instance.post(`/app/appneighborhoodassistancetheme/list?current=${this.current}&size=20`).then(res => {
this.$instance.post(`/app/appneighborhoodassistancetheme/list?current=${this.current}&size=20&status=1`).then(res => {
if (res.code === 0 && res.data) {
const list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
this.pages = Math.ceil(res.data.total / 10)