| | |
| | | import enUS from '@/locales/en-US/model.js' |
| | | import './index.scss' |
| | | |
| | | let eTDict = localStorage.getItem('lang') !== 'en-US' ? zhCN : enUS |
| | | let eTDict = sessionStorage.getItem('lang') !== 'en-US' ? zhCN : enUS |
| | | const EditableContext = React.createContext() |
| | | const shortkeycode = { |
| | | 65: 'A', 66: 'B', 67: 'C', 68: 'D', 69: 'E', 70: 'F', 71: 'G', 72: 'H', 73: 'I', 74: 'J', 75: 'K', 76: 'L', 77: 'M', |
| | |
| | | if (inputType === 'select') { |
| | | let _options = [] |
| | | if (record.$port) { |
| | | _options = window.GLOB.UserCacheMap.get(record.$port) |
| | | _options = window.GLOB.UserCacheMap.get(record.$port) || [] |
| | | } |
| | | return ( |
| | | <Select allowClear> |