mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-27 19:29:04 +08:00
fix: typo
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
props: {
|
||||
// 指定角色可见
|
||||
value: {
|
||||
type: [Number, Array, String] as PropType<RoleEnum | RoleEnum[]>,
|
||||
type: [Number, Array, String] as PropType<RoleEnum | RoleEnum[] | string | string[]>,
|
||||
default: '',
|
||||
},
|
||||
},
|
||||
|
@@ -35,7 +35,7 @@
|
||||
default: 'throttle',
|
||||
},
|
||||
color: {
|
||||
type: String as PropType<'error' | 'warning' | 'success'>,
|
||||
type: String as PropType<'error' | 'warning' | 'success' | ''>,
|
||||
},
|
||||
// 防抖节流时间
|
||||
throttleTime: {
|
||||
|
@@ -10,7 +10,7 @@ export interface DescItem {
|
||||
labelStyle?: any;
|
||||
|
||||
field: string;
|
||||
label: string;
|
||||
label: any;
|
||||
// 和并列
|
||||
span?: number;
|
||||
show?: (...arg: any) => boolean;
|
||||
@@ -30,7 +30,7 @@ export interface DescOptions {
|
||||
* 数据
|
||||
* @type object
|
||||
*/
|
||||
data: object;
|
||||
data: any;
|
||||
/**
|
||||
* 内置的CollapseContainer组件配置
|
||||
* @type CollapseContainerOptions
|
||||
|
@@ -1,7 +1,7 @@
|
||||
import { ColSpanType } from 'ant-design-vue/types/grid/col';
|
||||
|
||||
export interface ColEx {
|
||||
style: object;
|
||||
style?: any;
|
||||
/**
|
||||
* raster number of cells to occupy, 0 corresponds to display: none
|
||||
* @default none (0)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="tinymce-container" :style="{ width: containerWidth }">
|
||||
<textarea :id="tinymceId" visibility="hidden" ref="elRef"></textarea>
|
||||
<textarea :id="tinymceId" ref="elRef"></textarea>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
import { useScript } from '/@/hooks/web/useScript';
|
||||
import { snowUuid } from '/@/utils/uuid';
|
||||
import { bindHandlers } from './helper';
|
||||
// import lineHeight from './lineHeight';
|
||||
import lineHeight from './lineHeight';
|
||||
|
||||
const CDN_URL = 'https://cdn.bootcdn.net/ajax/libs/tinymce/5.5.1';
|
||||
|
||||
@@ -120,7 +120,7 @@
|
||||
}
|
||||
|
||||
function initEditor() {
|
||||
// getTinymce().PluginManager.add('lineHeight', lineHeight(getTinymce()));
|
||||
getTinymce().PluginManager.add('lineHeight', lineHeight(getTinymce()));
|
||||
getTinymce().init(unref(initOptions));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user