duy 1 рік тому
батько
коміт
8732fbe640
1 змінених файлів з 4 додано та 1 видалено
  1. 4 1
      src/views/user/index.vue

+ 4 - 1
src/views/user/index.vue

@@ -248,7 +248,8 @@
 
         <!-- 日志内容 -->
         <el-dialog v-model="operationContentModal" class="hc-modal-border" title="日志内容" width="38rem">
-            {{ operationContent }}
+            <!-- {{ operationContent }} -->
+            <div v-html="saveData" />
         </el-dialog>
     </div>
 </template>
@@ -678,8 +679,10 @@ const getLogTableData = async () => {
 //查看日志内容
 const operationContentModal = ref(false)
 const operationContent = ref('')
+const saveData = ref('')
 const tableOperationContent = (row) => {
     operationContent.value = row['operationContent'] ?? ''
+    saveData.value = row['saveData']
     operationContentModal.value = true
 }