Browse Source

优化新建表达时候,数据管理不出现

yangfan 3 months ago
parent
commit
a1eb7698f5
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/utils/request.js
  2. 1 1
      src/views/form/webDesign/Form.vue

File diff suppressed because it is too large
+ 1 - 1
src/utils/request.js


+ 1 - 1
src/views/form/webDesign/Form.vue

@@ -13,7 +13,7 @@
         <el-step title="流程设计" @click.native="stepChick(3)" v-if="maxStep >= 3 && dataForm.webType === 3" />
         <el-step title="拓展设置" @click.native="stepChick(dataForm.webType === 3 ? 4 : 3)" />
       </el-steps>
-      <el-button v-if="activeStep >= 2" type="primary" @click="openPrview">数据管理</el-button>
+      <el-button v-if="activeStep >= 2 && dataForm.id" type="primary" @click="openPrview">数据管理</el-button>
       <div class="options">
         <el-button @click="prve" :disabled="activeStep <= 0">{{ $t('common.prev') }}</el-button>
         <el-button @click="next" :disabled="isShowNext || loading" :loading="btnLoading">{{ $t('common.next') }}</el-button>