Procházet zdrojové kódy

copy schema,state 直接给 ok

xy před 7 roky
rodič
revize
9642cf5577

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