浏览代码

Update instruments.ts

lex-xin 1 周之前
父节点
当前提交
0ecb042e7e
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      src/constant/instruments.ts

+ 0 - 1
src/constant/instruments.ts

@@ -213,7 +213,6 @@
 export const getInstrumentName = (instruments: any, instrumentName: string) => {
   const _instrumentName = instrumentName
     .replace(/ /g, '')
-    .replace(/\d+|\d+/g, '')
     .trim()
     .toLocaleLowerCase()
   const _instrument = Object.keys(instruments)