bug
This commit is contained in:
@@ -194,7 +194,8 @@
|
|||||||
withoutToken: true,
|
withoutToken: true,
|
||||||
params: {
|
params: {
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 100
|
size: 100,
|
||||||
|
status: 1
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
|
|||||||
@@ -162,7 +162,8 @@ export default {
|
|||||||
withoutToken: true,
|
withoutToken: true,
|
||||||
params: {
|
params: {
|
||||||
current: 1,
|
current: 1,
|
||||||
size: 1000
|
size: 1000,
|
||||||
|
status: 1
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
methods: {
|
methods: {
|
||||||
getList() {
|
getList() {
|
||||||
if (this.current > this.pages) return
|
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) {
|
if (res.code === 0 && res.data) {
|
||||||
const list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
|
const list = this.current > 1 ? [...this.list, ...res.data.records] : res.data.records
|
||||||
this.pages = Math.ceil(res.data.total / 10)
|
this.pages = Math.ceil(res.data.total / 10)
|
||||||
|
|||||||
Reference in New Issue
Block a user