yangyj 1 anno fa
parent
commit
0aa4900e90
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 = /^(>=|<=|>|<|=|&&)/;//逻辑符号