loki 3 anos atrás
pai
commit
5f1d0db606
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/main.js

+ 1 - 1
src/main.js

@@ -84,7 +84,7 @@ window.UEDITOR_SERVER_URL = `${process.env.VUE_APP_BASE_API}/yxl-back-end/framew
 
 Vue.prototype.$filterRichTxt = str => {
   if (!str) return '';
-  return str.replace(/<img/g, '<img style="width: 100%;"');
+  return str.replace(/<img/g, '<img width="100%"');
 };
 
 new Vue({