فهرست منبع

仅能查阅的人员不能选择和复制

shenqilong 1 سال پیش
والد
کامیت
703225b2ae
1فایلهای تغییر یافته به همراه9 افزوده شده و 0 حذف شده
  1. 9 0
      src/views/component/fileTraining/index.vue

+ 9 - 0
src/views/component/fileTraining/index.vue

@@ -162,6 +162,7 @@
                 ><fView
                     v-if="refresh"
                     ref="fvView"
+                    :class="updateShow?'':'nocopy'"
                     :option-file="optionFile"
                     :operation_status="operation_status"
                     @hadLoadedFile="hadLoadedFile"
@@ -796,5 +797,13 @@ export default {
 //     display: inline-block;
 //     margin-left: 60px;
 // }
+.nocopy{
+    user-select:none;
+    -moz-user-select:none;
+    -webkit-user-select:none;
+    -ms-user-select:none;
+    -khtml-user-select:none;
+}
+
 </style>