UNPKG

flowable-bpmn-modeler

Version:

基于 `vue` `ant design vue`和 `bpmn.io@7.0` ,实现 flowable 的 modeler 模型设计器

12 lines (10 loc) 272 B
export function randomStr() { return Math.random().toString(36).slice(-8) } export function parseCDATA(str) { if (str) { const tmp = str.replace(/<!\[CDATA\[(.+)\]\]>/, '$1') return tmp.replace(/&lt;!\[CDATA\[(.+)\]\]&gt;/, '$1') } return '' }