修复bug,添加我的积分页面
This commit is contained in:
@@ -48,7 +48,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { ref, computed, onMounted } from 'vue'
|
||||
import { ref, computed } from 'vue'
|
||||
import { onShow } from '@dcloudio/uni-app'
|
||||
import {getQuestionnaireList} from '../api/apiSub.js'
|
||||
|
||||
// 状态栏高度
|
||||
@@ -130,8 +131,8 @@
|
||||
})
|
||||
}
|
||||
|
||||
// 生命周期:页面挂载完成
|
||||
onMounted(() => {
|
||||
// 生命周期:每次显示时刷新数据
|
||||
onShow(() => {
|
||||
getDataList()
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user