yangyj il y a 1 an
Parent
commit
0aa4900e90
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/formula/formulaStringToArray.js

+ 1 - 1
src/views/formula/formulaStringToArray.js

@@ -185,7 +185,7 @@ debugger
   const commaReg = /^,/;//逗号
   const operatorReg = /^ (\+|-|\*|%|\/) /;//加减乘除
   // const wordReg = /^[\u4e00-\u9fa5\w0-9'"-]+/;//文本
-  const wordReg = /^[\u4e00-\u9fa5\w\\.0-9'"-]+/;//文本
+  const wordReg = /^[\u4e00-\u9fa5\{\}\w\\.0-9'"-]+/;//文本
  
 
   const logicalReg = /^(>=|<=|>|<|=|&&)/;//逻辑符号