Просмотр исходного кода

copy schema,state 直接给 ok

xy 7 лет назад
Родитель
Сommit
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,
             user_id: userID,
             schemaCreatedAt: createdAt,
             schemaCreatedAt: createdAt,
             schemaUpdatedAt: '',
             schemaUpdatedAt: '',
-            schemaState: 'copy',
+            // copy的时候直接给 ok,不用检测
+            schemaState: 'ok',
             schemaData: JSON.stringify([]),
             schemaData: JSON.stringify([]),
             reference:  schemaID
             reference:  schemaID
         };
         };