Parcourir la source

前端代码提交

yjwang il y a 1 jour
Parent
commit
a0cdbb5cf4
2 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 3 3
      src/utils/safeHtml.js
  2. 1 0
      src/views/store/storeProduct/index.vue

+ 3 - 3
src/utils/safeHtml.js

@@ -1,8 +1,8 @@
 /**
- * 对 HTML 进行消毒,防止 XSS
- * 使用 CommonJS require,兼容 webpack4 生产构建对 dompurify(exports) 的解析
+ * 锟斤拷 HTML 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷止 XSS
+ * 使锟斤拷 CommonJS require锟斤拷锟斤拷锟斤拷 webpack4 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 dompurify(exports) 锟侥斤拷锟斤拷
  * @param {string} dirty 原始 HTML
- * @returns {string} 全 HTML
+ * @returns {string} 锟斤拷全 HTML
  */
 const DOMPurify = require('dompurify')
 

+ 1 - 0
src/views/store/storeProduct/index.vue

@@ -359,6 +359,7 @@
           <dict-tag :options="isShowOptions" :value="scope.row.isShow"/>
         </template>
       </el-table-column>
+      <el-table-column label="下架备注" align="center" prop="offlineRemark" min-width="180" :show-overflow-tooltip="true"/>
       <el-table-column label="同步状态" align="center" prop="pushStatus">
         <template slot-scope="scope">
           <el-tag