|
@@ -20,9 +20,12 @@
|
|
|
<el-row class="list_2"> {{ getContent(item.txt) }}</el-row>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
- <el-col :span="24" class="pages">
|
|
|
+ <el-col :span="24" class="pages" v-if="total > 0">
|
|
|
<pages-index :total="total" @search="toSearch" />
|
|
|
</el-col>
|
|
|
+ <el-col :span="24" class="pages" v-else>
|
|
|
+ <el-empty description="暂无数据" />
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</template>
|
|
|
|
|
@@ -34,7 +37,7 @@ import pagesIndex from '../../../components/windows/pagesIndex.vue'
|
|
|
import { get } from 'lodash-es'
|
|
|
import { tf } from '@/utils/timeFormat'
|
|
|
const list = ref<any[]>([])
|
|
|
-const total = ref(40)
|
|
|
+const total = ref(0)
|
|
|
import { useRoute } from 'vue-router'
|
|
|
const route = useRoute()
|
|
|
const keyword = computed(() => {
|