Преглед на файлове

feat: 自定义权限-弹窗再打开逻辑

lanjianrong преди 5 години
родител
ревизия
e2c561b4df
променени са 2 файла, в които са добавени 9 реда и са изтрити 0 реда
  1. 3 0
      src/global.less
  2. 6 0
      src/pages/Customer/Company/components/PermSelect.tsx

+ 3 - 0
src/global.less

@@ -173,6 +173,9 @@ input:-webkit-autofill:active {
   background: #636363;
 }
 
+.ant-select-selection-item {
+  text-overflow: unset;
+}
 // .react-resizable {
 //   background-clip: padding-box !important;
 // }

+ 6 - 0
src/pages/Customer/Company/components/PermSelect.tsx

@@ -70,6 +70,12 @@ const PermSelect: React.FC<PermSelectProps> = ({ dataType, onConfirm, ...resetPr
       />
       {state.showSetting ? (
         <Tooltip title="自定义权限">
+          {/* <Button
+            type="primary"
+            shape="circle"
+            className="ml-3"
+            icon={}
+          /> */}
           <SettingOutlined className="ml-3" onClick={() => handleOnChange('custom')} />
         </Tooltip>
       ) : null}