Ver Fonte

转档中不允许删除文件,完善个人中心样式

liyangbin há 2 anos atrás
pai
commit
297f093494
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      layouts/components/NavBar.vue
  2. 1 1
      pages/converter.vue

+ 1 - 1
layouts/components/NavBar.vue

@@ -234,7 +234,7 @@ export default {
 
 </script>
 
-<style lang="scss" scoped>
+<style lang="scss">
 .menu-active {
   color: #E93636;
   opacity: 0.7;

+ 1 - 1
pages/converter.vue

@@ -89,7 +89,7 @@
                               <!-- <td v-else class="file-details-cell state text-14px text-red-500">转换失败<img src="/converter/menu_ic_pdfconvert.png" @click="rechangeFile" /></td> -->
                               <td class="file-actions-cell w-50px p-0">
                                 <div class="file-actions text-center">
-                                  <div class="file-footer-buttons" @click="deleteFile(index)">
+                                  <div class="file-footer-buttons" @click="deleteFile(index)" v-if="changeFileFlag">
                                       <button type="button" class="kv-file-remove btn btn-xs btn-default bg-inherit !border-none pr-7px py-1px pl-5px text-12px leading-normal rounded-3px" title="删除文件"><i class="pdf-removeicon"></i></button>
                                   </div>
                                 </div>