fix:路径图列表显示

This commit is contained in:
wyx
2023-02-16 11:20:21 +08:00
parent a51d75a8e5
commit fcfa97b084

View File

@@ -78,7 +78,7 @@
>
{{ loading.close() }}
<div style="min-width: 770px; width: 100%">
<el-table :data="data" style="width: 100%" @row-click="gofun">
<el-table :data="dates" style="width: 100%" @row-click="gofun">
<el-table-column
prop="img"
label="缩略图"
@@ -179,8 +179,11 @@ loading.value = ElLoading.service({
background: "rgba(0, 0, 0, 0.7)",
});
const dates = ref([])
const { data } = usePage(ROUTER_LIST, { pageSize: 60 }, (e) => {
console.log("我请求成功了吗", e);
dates.value = e.data;
isLoading.value = false;
});
const router = useRouter();