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

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

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