feat: 刷新字典缓存.

This commit is contained in:
lijiahang
2023-10-27 19:15:13 +08:00
parent 706492f54a
commit d219b7f88a
70 changed files with 147 additions and 119 deletions

View File

@@ -223,7 +223,7 @@
</script>
<script lang="ts" setup>
import type { PropType } from 'vue';
import type { CSSProperties, PropType } from 'vue';
import type { PaginationProps, ResponsiveValue } from '@arco-design/web-vue';
import type { CardRecord, ColResponsiveValue, HandleVisible, CardFieldConfig, CardPosition } from '@/types/card';
import { compile, computed, h, ref } from 'vue';
@@ -278,7 +278,7 @@
default: '100%'
},
cardClass: String,
cardBodyStyle: Object,
cardBodyStyle: Object as PropType<CSSProperties>,
contextMenu: {
type: Boolean,
default: true

View File

@@ -17,7 +17,7 @@
<script lang="ts" setup>
import type { Theme, Options } from './core';
import type { PropType } from 'vue';
import type { CSSProperties, PropType } from 'vue';
import * as monaco from 'monaco-editor';
import { createDefaultOptions } from './core';
import { onBeforeUnmount, onMounted, ref, watch } from 'vue';
@@ -48,7 +48,7 @@
default: 'json',
},
containerClass: String,
containerStyle: Object,
containerStyle: Object as PropType<CSSProperties>,
theme: {
type: [String, Boolean] as PropType<Theme | boolean>,
default: true,