mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-01-02 01:36:58 +08:00
fix(editor): cose-select无法删除
This commit is contained in:
parent
f0a39667e1
commit
b0d8c5383b
@ -56,6 +56,13 @@ const codeConfig = computed<GroupListConfig>(() => ({
|
|||||||
|
|
||||||
return Array.isArray(model.codeId) ? model.codeId.join('/') : index;
|
return Array.isArray(model.codeId) ? model.codeId.join('/') : index;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const codeContent = codeBlockService.getCodeContentById(model.codeId);
|
||||||
|
|
||||||
|
if (codeContent) {
|
||||||
|
return codeContent.name;
|
||||||
|
}
|
||||||
|
|
||||||
return model.codeId || index;
|
return model.codeId || index;
|
||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
|
|||||||
@ -1,6 +1,3 @@
|
|||||||
.m-fields-code-select {
|
.m-fields-code-select {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
.el-card__header {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user