소스 검색

fix: 修改bug

100011797 3 년 전
부모
커밋
a4fc579bb5
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/pages/device/components/Metadata/Import/index.tsx

+ 1 - 2
src/pages/device/components/Metadata/Import/index.tsx

@@ -327,8 +327,7 @@ const Import = (props: Props) => {
       <div style={{ background: 'rgb(236, 237, 238)' }}>
         <p style={{ padding: 10 }}>
           <ExclamationCircleOutlined style={{ marginRight: 5 }} />
-          导入的物模型会覆盖原来的属性、功能、{props?.type === 'device' ? '事件、' : ''}
-          标签,请谨慎操作。
+          导入的物模型会覆盖原来的属性、功能、事件、标签,请谨慎操作。
           {/* <br /> */}
           {/*物模型格式请参考文档:*/}
           {/*<a*/}