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