Browse Source

Merge branch 'master' into prod

dev01 10 months ago
parent
commit
31dc8a4d2b
3 changed files with 13 additions and 1 deletions
  1. 2 1
      package.json
  2. 6 0
      webpack.config.js
  3. 5 0
      yarn.lock

+ 2 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "afanti",
-  "version": "1.3.08",
+  "version": "1.3.07",
   "description": "",
   "main": "index.js",
   "scripts": {
@@ -60,6 +60,7 @@
     "react": "^15.4.1",
     "react-dom": "^15.4.1",
     "react-pdf": "^1.8.3",
+    "react-print-html": "^1.0.5",
     "react-quill": "^1.0.0",
     "viewer": "^0.10.11",
     "viewerjs": "^1.6.2",

+ 6 - 0
webpack.config.js

@@ -312,6 +312,12 @@ module.exports = (function () {
             template: './template/template.html',
             chunks: ['user/account/evaluateInfo', 'vendors'],
         }),
+        new HtmlWebpackPlugin({
+          title: '管理员-标准管理',
+          filename: 'admin/standard.html',
+          template: './template/template.html',
+          chunks: ['admin/standard', 'vendors'],
+      }),
         //portal 门户
         // new HtmlWebpackPlugin({
         //     title: '主页-需求搜索',

+ 5 - 0
yarn.lock

@@ -5462,6 +5462,11 @@ react-pdf@^1.8.3:
     react ">=15.5"
     react-dom ">=15.5"
 
+react-print-html@^1.0.5:
+  version "1.0.5"
+  resolved "https://registry.yarnpkg.com/react-print-html/-/react-print-html-1.0.5.tgz#d48beb5ad1059f1c72102940fbc2d3c9d9827033"
+  integrity sha512-LUKVDJPu+95gbFg8wDreYxx2q2Krbh/aa/esTo4WewsizhukjQZiZC8yFohwApX6kfrkk7brT5XqO/yCOzkD6g==
+
 react-quill@^1.0.0:
   version "1.1.0"
   resolved "http://registry.npm.taobao.org/react-quill/download/react-quill-1.1.0.tgz"