摘要:
方法1: 先在外部终端清空node-modules目录,包括隐藏文件,再打开Webstorm,打开Project Structure页面,选中工程,选择node_modules目录(没有的话自己先新建一个空目录),然后点击上面的 Mark as Excluded,保存后再安装模块。 方法2: 对比修 阅读全文
摘要:
去除html标签: function del_html_tags(str) { var words = ''; words = str.replace(/]+>/g,""); return words; } 去除空格: function Trim(str,is_global) { var result; result = str.replace(/(^\s... 阅读全文