Prechádzať zdrojové kódy

-fix: 修正参数位置

fanyanpeng 2 rokov pred
rodič
commit
8e6435f0da

+ 1 - 1
src/pages/app/[id]/environment/[environmentId].js

@@ -263,9 +263,9 @@ export default class AppEnvironment extends PureComponent {
   invokeDeploy() {
     this.props.dispatch({
       type: 'environment/deploy',
-      useCache: true,
       payload: {
         id: this.state.currentEnvironment.id,
+        useCache: true,
         callback: (response) => {
           if (response && response.code == 0) {
             this.requestInterval();