@tntd/monaco-editor 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/FormulaEditor.js +7 -1
package/package.json
CHANGED
package/src/FormulaEditor.js
CHANGED
|
@@ -35,6 +35,8 @@ const FormulaEditor = forwardRef((props, ref) => {
|
|
|
35
35
|
searchCb,
|
|
36
36
|
cnCodeToEnExtraLogic,
|
|
37
37
|
enCodeToCnExtraLogic,
|
|
38
|
+
cnCodeToEnUniqueLogic,
|
|
39
|
+
enCodeToCnUniqueLogic,
|
|
38
40
|
onChange,
|
|
39
41
|
readOnly,
|
|
40
42
|
|
|
@@ -108,6 +110,8 @@ const FormulaEditor = forwardRef((props, ref) => {
|
|
|
108
110
|
regExp,
|
|
109
111
|
cnCodeToEnExtraLogic,
|
|
110
112
|
enCodeToCnExtraLogic,
|
|
113
|
+
cnCodeToEnUniqueLogic,
|
|
114
|
+
enCodeToCnUniqueLogic,
|
|
111
115
|
fieldNames: cascaderOptions.fieldNames
|
|
112
116
|
});
|
|
113
117
|
|
|
@@ -180,7 +184,9 @@ const FormulaEditor = forwardRef((props, ref) => {
|
|
|
180
184
|
normalList: normalList || [],
|
|
181
185
|
regExp,
|
|
182
186
|
cnCodeToEnExtraLogic,
|
|
183
|
-
enCodeToCnExtraLogic
|
|
187
|
+
enCodeToCnExtraLogic,
|
|
188
|
+
cnCodeToEnUniqueLogic,
|
|
189
|
+
enCodeToCnUniqueLogic
|
|
184
190
|
});
|
|
185
191
|
|
|
186
192
|
const modeField = converterPluginRef.current.getModeField();
|