zhangfangbiao
zhangfangbiao
我也遇到了这个问题,如果tokenSeparators里面只写中文逗号不写英文逗号的话,中文状态输入111,输入逗号,然后输入2,表现和你的不一样 
```javascript function getMinIndex(arr) { let min = Infinity let minIndex arr.forEach((v, i) => { if (typeof v === 'number' && v > 0) { if (v < min) { min...
```javascript Array.prototype.splice2 = function(start, count, ...addList) { if (start < 0) { if (Math.abs(start) > this.length) { start = 0 } else { start = this.length + start } }...
同样556k
me too
> 可以参考下: > > ```js > // vue2 > import { SlateTransforms } from '@wangeditor/editor' > > methods: { > onCreated (editor) { > this.editor = Object.seal(editor) // 一定要用 Object.seal()...