Explorar o código

fix: 修改bug

100011797 %!s(int64=3) %!d(string=hai) anos
pai
achega
a4fc579bb5
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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*/}