Quellcode durchsuchen

-fix: 修正参数位置

fanyanpeng vor 2 Jahren
Ursprung
Commit
8e6435f0da
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/pages/app/[id]/environment/[environmentId].js

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

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