feat: 修复构建.

This commit is contained in:
lijiahangmax
2024-01-09 23:53:45 +08:00
parent 0bb7b5bc62
commit d78d2a2053
38 changed files with 121 additions and 73 deletions

View File

@@ -161,7 +161,7 @@
return;
}
extraSchemaArr.value.push({
name: name,
name: name as string,
type: type || ValueType.STRING
});
};

View File

@@ -1,7 +1,7 @@
<template>
<!-- 搜索 -->
<a-card class="general-card table-search-card">
<a-query-header :model="formModel"
<query-header :model="formModel"
label-align="left"
@submit="fetchTableData"
@reset="fetchTableData"
@@ -14,7 +14,7 @@
<a-form-item field="description" label="配置描述" label-col-flex="50px">
<a-input v-model="formModel.description" placeholder="请输入配置描述" allow-clear />
</a-form-item>
</a-query-header>
</query-header>
</a-card>
<!-- 表格 -->
<a-card class="general-card table-card">

View File

@@ -10,7 +10,7 @@
@added="modalAddCallback"
@updated="modalUpdateCallback" />
<!-- json 查看器模态框 -->
<json-view-modal ref="view" />
<json-editor-modal ref="view" />
</div>
</template>
@@ -24,7 +24,7 @@
import { ref, onBeforeMount } from 'vue';
import DictKeyTable from './components/dict-key-table.vue';
import DictKeyFormModal from './components/dict-key-form-modal.vue';
import JsonViewModal from '@/components/view/json/json-view-modal.vue';
import JsonEditorModal from '@/components/view/json-editor/json-editor-modal.vue';
import { useDictStore } from '@/store';
import { dictKeys } from './types/const';

View File

@@ -45,6 +45,6 @@ export const dictKeys = [dictValueTypeKey];
* 额外参数类型
*/
export interface ExtraParamType {
name?: string;
type?: string;
name: string;
type: string;
}

View File

@@ -1,7 +1,7 @@
<template>
<!-- 搜索 -->
<a-card class="general-card table-search-card">
<a-query-header :model="formModel"
<query-header :model="formModel"
label-align="left"
@submit="fetchTableData"
@reset="resetForm"
@@ -21,7 +21,7 @@
<a-form-item field="label" label="配置描述" label-col-flex="50px">
<a-input v-model="formModel.label" placeholder="请输入配置描述" allow-clear />
</a-form-item>
</a-query-header>
</query-header>
</a-card>
<!-- 表格 -->
<a-card class="general-card table-card">