ソースを参照

fix(metadata): quick import

Lind 3 年 前
コミット
47f3f9425f
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/pages/device/Product/Detail/PropertyImport/index.tsx

+ 1 - 1
src/pages/device/Product/Detail/PropertyImport/index.tsx

@@ -178,7 +178,7 @@ const PropertyImport = (props: Props) => {
   return (
     <Modal
       visible
-      onCancel={() => close()}
+      onCancel={() => (MetadataModel.importMetadata = false)}
       width="35vw"
       title="导入属性"
       onOk={() => {