xingyu hace 1 año
padre
commit
2dcb73764f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/infra/build/index.vue

+ 1 - 1
src/views/infra/build/index.vue

@@ -23,7 +23,7 @@
       </el-button>
       <el-scrollbar height="580">
         <div>
-          <pre><code class="hljs" v-html="highlightedCode(formData)"></code></pre>
+          <pre><code class="hljs" v-dompurify-html="highlightedCode(formData)"></code></pre>
         </div>
       </el-scrollbar>
     </div>