import{aw as e,y as t,z as i,b0 as o}from"./chunks/framework.BCBheFgR.js";const h=JSON.parse('{"title":"codeBlockService方法","description":"","frontmatter":{},"headers":[],"relativePath":"api/editor/codeBlockServiceMethods.md","filePath":"api/editor/codeBlockServiceMethods.md"}'),r={name:"api/editor/codeBlockServiceMethods.md"};function s(a,l,d,n,u,g){return i(),t("div",null,l[0]||(l[0]=[o('

codeBlockService方法

setCodeDsl

getCodeDsl

getCodeContentById

setCodeDslById

getCodeDslByIds

setCodeEditorShowStatus

getCodeEditorShowStatus

setCodeEditorContent

getCurrentDsl

getEditStatus

setEditStatus

setId

getId

getMode

setMode

setCombineIds

getCombineIds

refreshAllRelations

getCombineInfo

getUndeletableList

setUndeleteableList

setCodeDraft

getCodeDraft

removeCodeDraft

deleteCodeDslByIds

getUniqueId

deleteCompsInRelation

destroy

use

使用中间件的方式扩展方法,上述方法中标记有扩展支持: 是的方法都支持使用use扩展

usePlugin

相对于use, usePlugin支持更加灵活更加细致的扩展, 上述方法中标记有扩展支持: 是的方法都支持使用usePlugin扩展

每个支持扩展的方法都支持定制before、after两个hook来干预原有方法的行为,before可以用于修改传入参数,after可以用于修改返回的值

removeAllPlugins

删掉当前设置的所有扩展

',66)]))}const c=e(r,[["render",s]]);export{h as __pageData,c as default};