修改配置.

This commit is contained in:
lijiahangmax
2023-09-24 22:15:16 +08:00
parent f6dd01f017
commit 6fa57c616c
4 changed files with 3 additions and 10 deletions

View File

@@ -1,6 +1,7 @@
import axios from 'axios';
import qs from 'query-string';
import { DataGrid, Pagination } from '@/types/global';
import { TableData } from '@arco-design/web-vue/es/table/interface';
/**
* ${table.comment}创建请求
@@ -48,7 +49,7 @@ export interface ${vue.featureEntity}QueryRequest extends Pagination {
/**
* ${table.comment}查询响应
*/
export interface ${vue.featureEntity}QueryResponse {
export interface ${vue.featureEntity}QueryResponse extends TableData {
#foreach($field in ${table.fields})
#if("$field.propertyType" == "String")
${field.propertyName}?: string;

View File

@@ -119,7 +119,7 @@
import {} from '../types/const';
import { toOptions } from '@/utils/enum';
const tableRenderData = ref<${vue.featureEntity}QueryResponse[]>();
const tableRenderData = ref<${vue.featureEntity}QueryResponse[]>([]);
const { loading, setLoading } = useLoading();
const emits = defineEmits(['openAdd', 'openUpdate']);