提交 f47eb899 authored 作者: lihuihui's avatar lihuihui

添加列表空显示的内容,修改我的错题标题

上级 7c8adda3
......@@ -42,6 +42,7 @@
</li>
</template>
</ul>
<van-empty description="暂无内容" v-if="question.list.length == 0"/>
<div class="loading" v-if="isLogding">
<div class="icon">
<van-loading color="#1989fa" />
......@@ -77,7 +78,7 @@ import * as api from '@/api/my.js'
import { Toast } from 'vant'
export default {
metaInfo: {
title: '已做试题'
title: '我的错题'
},
components: {
[Toast.name]: Toast
......
......@@ -42,6 +42,7 @@
</li>
</template>
</ul>
<van-empty description="暂无内容" v-if="question.list.length == 0"/>
<div class="loading" v-if="isLogding">
<div class="icon">
<van-loading color="#1989fa" />
......@@ -74,13 +75,14 @@
<script>
import * as api from '@/api/my.js'
import { Toast } from 'vant'
import { Toast, Empty } from 'vant'
export default {
metaInfo: {
title: '已做试题'
},
components: {
[Toast.name]: Toast
[Toast.name]: Toast,
[Empty.name]: Empty
},
data() {
return {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论