瀏覽代碼

默认推荐

wyq 4 年之前
父節點
當前提交
c0008f580d
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/js/staticInfo.js
  2. 1 1
      webpack.config.js

+ 1 - 1
src/js/staticInfo.js

@@ -167,7 +167,7 @@ function renderContentscale(list, contentWrapClassName, name) {
               str += '<span class="num">' + '(' + its.score + ')' + '</span>'
             }
             str += '</label>'
-            str += `${item.match == 1 ? `<img class="recommend" src=${recommend} />` : ``}</div>`
+            str += `${its.match == 1 ? `<img class="recommend" src=${recommend} />` : ``}</div>`
             $(".scale .infos .infos-box .infoWrapper .infoBox[data-id=" + it.parentId + "] .contentList .item-content[data-id=" + its.parentId + "]").append(str);
           }
         }

+ 1 - 1
webpack.config.js

@@ -4,7 +4,7 @@ const CleanWebpackPlugin = require('clean-webpack-plugin') // 清空打包目录
 const MiniCssExtractPlugin = require('mini-css-extract-plugin');
 const UglifyJsPlugin = require('uglifyjs-webpack-plugin');
 const webpack = require('webpack');
-const proxyHost = "http://192.168.2.236:6060";
+const proxyHost = "http://192.168.2.241:6060";
 module.exports = {
   entry: {
     index: path.resolve(__dirname, 'src/js', 'index.js'),