Commit 80e1d492 by xinla

智能短链线上不显示问题

1 parent 277b5c82
...@@ -113,7 +113,7 @@ export default { ...@@ -113,7 +113,7 @@ export default {
this.loading = true this.loading = true
getList(this.query) getList(this.query)
.then(({ rows, total }) => { .then(({ rows, total }) => {
this.list = rows this.list = rows || []
this.total = +total this.total = +total
}) })
.catch(() => {}) .catch(() => {})
...@@ -217,7 +217,7 @@ export default { ...@@ -217,7 +217,7 @@ export default {
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination :total="total" v-model:page="query.pageNum" v-model:limit="query.pageSize" @pagination="getList()" /> <pagination :total="total" v-model:page="query.pageNum" v-model:limit="query.pageSize" @pagination="getList()" />
<template v-if="!list.length"> <template v-if="!list?.length">
<div class="tips"> <div class="tips">
智能短链需要先配置短链小程序,否则无法正常使用, 智能短链需要先配置短链小程序,否则无法正常使用,
<a class="link" @click="gotoSetting">去配置</a> <a class="link" @click="gotoSetting">去配置</a>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!