mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-25 01:39:57 +08:00
chore(editor): ts报错修改
This commit is contained in:
parent
d8488782df
commit
52722ec5d4
@ -122,7 +122,6 @@ watchEffect(async () => {
|
|||||||
state.codeList.push({
|
state.codeList.push({
|
||||||
id: key,
|
id: key,
|
||||||
name: value.name,
|
name: value.name,
|
||||||
content: value.content,
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
currentTitle.value = state.codeList[0]?.name || '';
|
currentTitle.value = state.codeList[0]?.name || '';
|
||||||
|
@ -358,7 +358,7 @@ export interface CodeDslList {
|
|||||||
/** 代码块名称 */
|
/** 代码块名称 */
|
||||||
name: string;
|
name: string;
|
||||||
/** 代码块函数内容 */
|
/** 代码块函数内容 */
|
||||||
codeBlockContent: CodeBlockContent;
|
codeBlockContent?: CodeBlockContent;
|
||||||
/** 是否展示代码绑定关系 */
|
/** 是否展示代码绑定关系 */
|
||||||
showRelation?: boolean;
|
showRelation?: boolean;
|
||||||
}
|
}
|
||||||
@ -374,8 +374,6 @@ export interface ListRelationState extends ListState {
|
|||||||
/** 代码块id : 组件信息 */
|
/** 代码块id : 组件信息 */
|
||||||
[id: string]: MNode[];
|
[id: string]: MNode[];
|
||||||
};
|
};
|
||||||
/** codeDsl内容用于暴露给业务方 */
|
|
||||||
// codeDsl: CodeBlockDSL | null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum CodeDeleteErrorType {
|
export enum CodeDeleteErrorType {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user