feat: 封装js
parent
a171926318
commit
cf4813f33f
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue