Explorar o código

fix: nginx log indent

Jacky hai 6 meses
pai
achega
6c7fa1b37d
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      app/src/views/nginx_log/NginxLog.vue

+ 2 - 3
app/src/views/nginx_log/NginxLog.vue

@@ -162,11 +162,10 @@ const computedBuffer = computed(() => {
     <ACard>
       <pre
         ref="logContainer"
+        v-dompurify-html="computedBuffer"
         class="nginx-log-container"
         @scroll="debounce_scroll_log"
-      >
-        {{ computedBuffer }}
-      </pre>
+      />
     </ACard>
     <FooterToolBar v-if="control.type === 'site'">
       <AButton @click="router.go(-1)">