xg
This commit is contained in:
parent
4080453b74
commit
146ac9851f
@ -316,7 +316,7 @@ function withAttachment(editor) { // JS 语法
|
||||
Boot.registerPlugin(withAttachment)
|
||||
function renderAttachment(elem, children, editor) { // JS 语法
|
||||
// 获取“附件”的数据,参考上文 myResume 数据结构
|
||||
const { fileName = '', link = '', fileSpan = '', fieldMark } = elem
|
||||
const { fileName = '', link = '', fileSpan = '', fieldMark = '' } = elem
|
||||
// 附件 icon 图标 vnode
|
||||
const iconVnode = h(
|
||||
// HTML tag
|
||||
|
||||
Loading…
Reference in New Issue
Block a user