src/views/user/videoList.vue
@@ -1,5 +1,5 @@ <script setup> import {ref} from "vue"; import {onMounted, ref} from "vue"; const tableData = ref([ { @@ -40,6 +40,26 @@ ]); const carName = ref(null); import { driveInfModule } from "@/views/moudle/driveInf/driveInf"; const { page, pageSize, driveList, getDriveList } = driveInfModule(); const searchDriveList = async ()=>{ let rs = await getDriveList(); console.log(rs); } onMounted(()=>{ searchDriveList(); }); </script> <template>