Przeglądaj źródła

解决审批内容中/符号不显示的问题

RaoMeng 5 lat temu
rodzic
commit
8fffc19c8a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      uas-office-web/wxuasapproval/src/utils/common.js

+ 1 - 1
uas-office-web/wxuasapproval/src/utils/common.js

@@ -117,7 +117,7 @@ export function getParenthesesStr (text) {
     return result
   let regex = /\((.+?)\)/g
   //去除转义字符
-  text = text.replace(/[\'\"\\\/\b\f\n\r\t]/g, '')
+  text = text.replace(/[\'\"\b\f\n\r\t]/g, '')
   let options = text.match(regex)
   if (!isObjEmpty(options)) {
     let option = options[0]