fix(editor): cose-select无法删除
This commit is contained in:
@@ -56,6 +56,13 @@ const codeConfig = computed<GroupListConfig>(() => ({
|
||||
|
||||
return Array.isArray(model.codeId) ? model.codeId.join('/') : index;
|
||||
}
|
||||
|
||||
const codeContent = codeBlockService.getCodeContentById(model.codeId);
|
||||
|
||||
if (codeContent) {
|
||||
return codeContent.name;
|
||||
}
|
||||
|
||||
return model.codeId || index;
|
||||
},
|
||||
items: [
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
.m-fields-code-select {
|
||||
width: 100%;
|
||||
.el-card__header {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user