feat: 封装js

main
cc 2025-05-10 22:29:53 +08:00
parent a171926318
commit cf4813f33f
1 changed files with 2 additions and 5 deletions

View File

@ -1,15 +1,12 @@
<script setup lang="js"> <script setup lang="js">
import { cdcmTemplateAPI } from '#/cdcm/api/api.js'; import { cdcmTemplateAPI } from '#/cdcm/api/api.js';
import { templateQuerySupportType } from '#/cdcm/api/req_code'; import { TemplateQueryPage } from '#/cdcm/api/req_code';
const params = { const params = {
page_num: 1, page_num: 1,
page_size: 10, page_size: 10,
}; };
console.warn( console.warn('cdcmTemplateAPI', cdcmTemplateAPI(params, TemplateQueryPage));
'cdcmTemplateAPI',
cdcmTemplateAPI(params, templateQuerySupportType),
);
</script> </script>
<template> <template>