feat: 完成webfirst 数据表管理前端模块

This commit is contained in:
陈淳
2023-09-26 18:01:41 +08:00
parent c2a9c670c4
commit 7cbc15ea85
10 changed files with 471 additions and 261 deletions

View File

@@ -1,9 +1,11 @@
import {listData} from "@/api/webfirst/tableApi.js"
const useTable=()=>{
const table=ref("数据表选择")
onMounted(() => {
console.log(`the component is now mounted. table`)
const dataList=ref([]);
onMounted( async() => {
const response= await listData();
dataList.value=response.data.items;
});
return {table};
return {dataList};
}
export default useTable;