x1ongzhu 1 tahun lalu
induk
melakukan
9c51b53fbd
1 mengubah file dengan 8 tambahan dan 0 penghapusan
  1. 8 0
      src/views/TaskView.vue

+ 8 - 0
src/views/TaskView.vue

@@ -54,6 +54,11 @@
                                 <template #title>检查连接</template>
                                 <template #content>{{ row.checkConnection ? '是' : '否' }}</template>
                             </ExpandItem>
+
+                            <ExpandItem class="expand-item" v-if="isAdmin">
+                                <template #title>端到端加密</template>
+                                <template #content>{{ row.endToEndEncryption ? '是' : '否' }}</template>
+                            </ExpandItem>
                         </div>
 
                         <div>
@@ -243,6 +248,9 @@
         <ElFormItem v-if="isAdmin" prop="useBackup" label="使用备份">
             <ElSwitch v-model="model.useBackup" />
         </ElFormItem>
+        <ElFormItem v-if="isAdmin" prop="endToEndEncryption" label="端到端加密">
+            <ElSwitch v-model="model.endToEndEncryption" />
+        </ElFormItem>
     </EditDialog>
 
     <ElDialog v-model="showDetailDialog" title="详情" width="800px">