This commit is contained in:
花有清香月有阴
2022-02-24 18:24:01 +08:00
parent 3d78a4f15c
commit a3dfe91a05

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="integralapply"> <div class="integralapply" v-if="showPage">
<u-tabs :list="list" :is-scroll="false" :current="currentTab" @change="change" style="width: 50%" bg-color="#197df0" active-color="#FFF;" inactive-color="#FFF"></u-tabs> <u-tabs :list="list" :is-scroll="false" :current="currentTab" @change="change" style="width: 50%" bg-color="#197df0" active-color="#FFF;" inactive-color="#FFF"></u-tabs>
<div class="middle"> <div class="middle">
@@ -56,6 +56,7 @@ export default {
props: {}, props: {},
data() { data() {
return { return {
showPage: false,
name: '', name: '',
list: [ list: [
{ {
@@ -110,6 +111,9 @@ export default {
this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records
} }
}) })
.finally(() => {
this.showPage = true
})
}, },
toAdd(index, item) { toAdd(index, item) {