Commit a62dd6d7 authored by 黄奎's avatar 黄奎
parents e9f7b5e3 826f501d
......@@ -515,7 +515,7 @@
</el-form-item>
</el-form>
<span class="Sale_UnlessWords">
不能少于4个字
不能少于10个字
</span>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="tichengDialog=false">取消</button>
......@@ -791,7 +791,7 @@
//锅炉除开标点符号的字数
getFilteredNum(val){
//var pattern=new RegExp("[`~%!@#$^=''?~!@#¥……&——‘”“'?*()(),,。.、<>《》\\[\\]【】\\“\\”{}=+-|\/:;;:]");
var pattern=new RegExp("[`~%!@#$^=''?~!@#¥……&——‘”“'?*()(),,。.、<>《》:;; +-=]");
var pattern=new RegExp("[`~%!@#$^=''?~!@#¥……&——‘”“'?*()(),,。.、<>《》:;; +-=\\s]");
//[]内输入你要过滤的字符,这里基本包含全部的标点符号,\\是转义字符
var rs="";
for(var i=0;i<val.length;i++){
......
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