mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-05-19 20:48:10 +08:00
fix(editor): 代码块节点slot参数丢失
This commit is contained in:
parent
ce6d2684b7
commit
23bee0b3ae
@ -10,12 +10,11 @@
|
|||||||
</slot>
|
</slot>
|
||||||
|
|
||||||
<!-- 代码块列表 -->
|
<!-- 代码块列表 -->
|
||||||
<CodeBlockList
|
<CodeBlockList ref="codeBlockList" :custom-error="customError" @edit="editCode" @remove="deleteCode">
|
||||||
ref="codeBlockList"
|
<template #code-block-panel-tool="{ id, data }">
|
||||||
:custom-error="customError"
|
<slot name="code-block-panel-tool" :id="id" :data="data"></slot>
|
||||||
@edit="editCode"
|
</template>
|
||||||
@remove="deleteCode"
|
</CodeBlockList>
|
||||||
></CodeBlockList>
|
|
||||||
|
|
||||||
<!-- 代码块编辑区 -->
|
<!-- 代码块编辑区 -->
|
||||||
<CodeBlockEditor
|
<CodeBlockEditor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user