index.js 215 Bytes EditWeb IDE 1 2 3 4 5 6 import customRenderer from './customRenderer' // 自定义元素在canvas的渲染,否则渲染进去还是Task形状 export default { __init__: ['customRenderer'], customRenderer: ['type', customRenderer] }