Преглед изворни кода

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
         };