Commit 4397589f authored by wuwangwolihui's avatar wuwangwolihui

修改-本地预览-锚点长度10=>30

parent caa07b63
......@@ -303,7 +303,7 @@
valueArr.forEach((item, index) => {
let father = document.getElementById(item).parentNode;
let value = father.innerHTML.replace(/<(.*?)>/g, '').replace(/<\/(.*?)>/g, '');
if (value && value.length < 10) {
if (value && value.length < 30) {
anchorList.push({
id: '#' + item,
name: value,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment