瀏覽代碼

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 (
   return (
     <Modal
     <Modal
       visible
       visible
-      onCancel={() => close()}
+      onCancel={() => (MetadataModel.importMetadata = false)}
       width="35vw"
       width="35vw"
       title="导入属性"
       title="导入属性"
       onOk={() => {
       onOk={() => {