一些issue修改

This commit is contained in:
付民康
2025-03-21 09:49:58 +08:00
parent adf790ea15
commit a9c4bc192c
7 changed files with 39 additions and 30 deletions

View File

@@ -44,10 +44,11 @@
</template>
<script setup lang="ts">
import { ref } from 'vue';
import { ref,defineProps } from 'vue';
import SidePanel from '@/components/LicenseInfo/SidePanel.vue';
import { getLicenseList } from '@/api/jyh';
import NoData from '@/components/NoData/NoData.vue';
const propsData = defineProps(['versionId']);
const currentData = ref(null);
const pager = ref({
pageIndex: 1,
@@ -121,7 +122,12 @@ const list = ref([
]);
const getList = async () => {
const res: any = await getLicenseList();
const res: any = await getLicenseList({
softwareId: propsData.versionId,
componentId: '',
current: pager.value.pageIndex,
size: pager.value.pageSize,
});
if (!res.error) {
console.log(res);
list.value = res.data.data.records;