瀏覽代碼

copy schema,state 直接给 ok

xy 7 年之前
父節點
當前提交
9642cf5577
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/app/graphqlService/component/schema/Schema.jsx

+ 2 - 1
src/app/graphqlService/component/schema/Schema.jsx

@@ -516,7 +516,8 @@ class CopySchemaButton extends Component {
             user_id: userID,
             schemaCreatedAt: createdAt,
             schemaUpdatedAt: '',
-            schemaState: 'copy',
+            // copy的时候直接给 ok,不用检测
+            schemaState: 'ok',
             schemaData: JSON.stringify([]),
             reference:  schemaID
         };