fix: 🧩 修复测试bug

This commit is contained in:
2025-03-31 17:01:27 +08:00
parent aeaf68307f
commit 716b383a87
23 changed files with 222 additions and 52 deletions

View File

@@ -60,7 +60,7 @@ const dataStore = reactive<any>({
//文章分类(搜索条件)
const getArticleClassData = async () => {
const result = await getArticleClassDataApi();
const result = await getArticleClassDataApi({ is_show: 0 });
if (result?.code === 0) {
const { data } = result;
dataStore.formData[1].options = useSearchInfoArray(data);
@@ -80,10 +80,6 @@ const handleAdd = (type: any) => {
//导出接口
const getArticleListExport = async () => {
// searchParam,
// searchInitParam,
console.log(proTableRef?.value?.pageable, "===proTableRef?.value?.pageable==");
console.log(proTableRef?.value?.searchParam, "=dataStore.initParam=");
const result = await getArticleListExportApi({
...proTableRef?.value?.searchParam,
...proTableRef?.value?.pageable