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">
import { cdcmTemplateAPI } from '#/cdcm/api/api.js';
import { templateQuerySupportType } from '#/cdcm/api/req_code';
import { TemplateQueryPage } from '#/cdcm/api/req_code';
const params = {
page_num: 1,
page_size: 10,
};
console.warn(
'cdcmTemplateAPI',
cdcmTemplateAPI(params, templateQuerySupportType),
);
console.warn('cdcmTemplateAPI', cdcmTemplateAPI(params, TemplateQueryPage));
</script>
<template>