Explorar o código

fix(metadata): quick import

Lind %!s(int64=3) %!d(string=hai) anos
pai
achega
47f3f9425f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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={() => {