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

修改上传按钮的判断逻辑

noob 3 лет назад
Родитель
Сommit
101a3cbc31
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      src/pages/main/performance/components/sheet.vue

+ 2 - 1
src/pages/main/performance/components/sheet.vue

@@ -2,7 +2,7 @@
  * @Author       : yuanrunwei
  * @Date         : 2021-12-04 14:23:58
  * @LastEditors  : yuanrunwei
- * @LastEditTime : 2021-12-26 19:13:15
+ * @LastEditTime : 2021-12-26 19:33:50
  * @FilePath     : \spfm-market-front\src\pages\main\performance\components\sheet.vue
 -->
 
@@ -21,6 +21,7 @@
             >
             <template v-if="['edit'].includes(type)">
                 <el-upload
+                    v-if="!id"
                     class="margin-right-10 margin-left-10"
                     action
                     :on-change="handleChange"