diff --git a/src/_common b/src/_common index f3226c488..9cdb227bd 160000 --- a/src/_common +++ b/src/_common @@ -1 +1 @@ -Subproject commit f3226c48864cc056f985ad3be3ab8e0e8001f79e +Subproject commit 9cdb227bdbb8b555511652b2b08bc91ae8b310c8 diff --git a/src/select/__tests__/__snapshots__/select.test.tsx.snap b/src/select/__tests__/__snapshots__/select.test.tsx.snap index bffedf988..81e617f79 100644 --- a/src/select/__tests__/__snapshots__/select.test.tsx.snap +++ b/src/select/__tests__/__snapshots__/select.test.tsx.snap @@ -808,6 +808,89 @@ exports[`options.jsx 1`] = ` `; +exports[`panel.jsx 1`] = ` + +
+
+
+
+ + + 请选择云解决方案 + + + + +
+
+
+
+
+
+ + + 请选择云产品 + + + + +
+
+
+
+
+`; + exports[`popup-props.jsx 1`] = `
{ + const filteredValue = OPTIONS.filter((item) => item.label.indexOf(v) !== -1); + setTopOptions(filteredValue); + }; + + const handleClickConfirm = () => { + const id = Math.round(Math.random() * 100); + const newBottomOptions = bottomOptions.concat({ label: inputVal, value: id }); + setBottomOptions(newBottomOptions); + changeInputVal(''); + toggleEditOrCreate('edit'); + }; + return ( +
+