Преглед изворни кода

增加五个新的分公司选项

HW пре 3 година
родитељ
комит
c92b20bdc6
4 измењених фајлова са 9 додато и 4 уклоњено
  1. 5 0
      js/component/common/configure.jsx
  2. 1 1
      package.json
  3. 1 1
      webpack-dll.config.js
  4. 2 2
      webpack.config.js

+ 5 - 0
js/component/common/configure.jsx

@@ -3,6 +3,11 @@ const companyList = [
     {value:1,label:'广州'}  ,
     {value:2,label:'石家庄'}  ,
     {value:3,label:'北京'}  ,
+    {value:4,label:'贵州'}  ,
+    {value:5,label:'昆明'}  ,
+    {value:6,label:'武汉'}  ,
+    {value:7,label:'新疆'}  ,
+    {value:8,label:'郑州'}  ,
 ];
 
 function getCompanyName(value){

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "afanti",
-  "version": "1.0.3",
+  "version": "1.0.4",
   "description": "",
   "main": "index.js",
   "scripts": {

+ 1 - 1
webpack-dll.config.js

@@ -10,7 +10,7 @@ let theme = {
     '@link-color': '#58a3ff'
 };
 module.exports = (function () {
-    let staticHost = 'http://172.16.0.254';
+    let staticHost = 'http://172.16.0.74';
     switch (argv.env.deploy) {
         case 'test':
             staticHost = 'http://statics.jishutao.com';

+ 2 - 2
webpack.config.js

@@ -135,7 +135,7 @@ module.exports = (function () {
         }));
     }
 
-    let staticHost = 'http://172.16.0.253:80';
+    let staticHost = 'http://172.16.0.74:80';
     switch (argv.env.deploy) {
         case 'test':
             staticHost = 'http://static.jishutao.com'
@@ -169,7 +169,7 @@ module.exports = (function () {
         plugins: plugins,
         devServer: {
             disableHostCheck: true,
-            host: '172.16.0.253',
+            host: '172.16.0.74',
             port: 80,
             allowedHosts: ['127.0.0.1','192.168.0.20','192.168.0.99'],
             headers: {