瀏覽代碼

增加对IE 11 和 edge的兼容

star7th 7 年之前
父節點
當前提交
208fbcc1c3

+ 1 - 1
web_src/build/webpack.base.conf.js

@@ -3,7 +3,7 @@ const path = require('path')
 const utils = require('./utils')
 const config = require('../config')
 const vueLoaderConfig = require('./vue-loader.conf')
-
+require("babel-polyfill");
 function resolve (dir) {
   return path.join(__dirname, '..', dir)
 }

File diff suppressed because it is too large
+ 238 - 221
web_src/package-lock.json


+ 1 - 0
web_src/package.json

@@ -15,6 +15,7 @@
   },
   "dependencies": {
     "axios": "^0.17.1",
+    "babel-polyfill": "^6.26.0",
     "babel-preset-es2015": "^6.24.1",
     "element-ui": "^2.0.8",
     "scriptjs": "^2.5.8",

+ 1 - 0
web_src/src/components/admin/Index.vue

@@ -81,6 +81,7 @@
   
   .el-main {
     margin-left: 200px;
+    overflow: visible;
   }
   
   body > .el-container {

+ 1 - 0
web_src/src/components/item/show/show_regular_item/Index.vue

@@ -234,6 +234,7 @@
     width:800px;
     margin: 0 auto ;
     height: 50%;
+    overflow: visible;
   }
 
   .right-side{

+ 1 - 1
web_src/src/components/notice/Index.vue

@@ -5,7 +5,7 @@
     <el-container>
           <el-card class="center-card">
           <template>
-            <el-button type="text" class="goback-btn " ><span class="feedback" @click="feedback">反馈</span><router-link to="/item/index">返回</router-link></el-button>
+            <el-button type="text" class="goback-btn "  @click="feedback" ><span class="feedback">反馈</span></el-button><router-link to="/item/index">返回</router-link>
             <el-tabs  value="first" type="card">
               <el-tab-pane label="我的消息" name="first">
 

+ 1 - 1
web_src/src/components/user/Setting.vue

@@ -5,7 +5,7 @@
     <el-container>
           <el-card class="center-card">
           <template>
-            <el-button type="text" class="goback-btn " ><router-link to="/item/index">{{$t('goback')}}</router-link></el-button>
+            <router-link class="goback-btn "to="/item/index">{{$t('goback')}}</router-link>
             <el-tabs  value="first" type="card">
             
               <el-tab-pane :label="$t('modify_password')" name="first">

+ 1 - 1
web_src/src/main.js

@@ -15,7 +15,7 @@ import zhLocale from 'element-ui/lib/locale/lang/zh-CN'
 import myZhLocale from '../static/lang/zh-CN'
 import myEnLocale from '../static/lang/en'
 import 'url-search-params-polyfill'
-
+import "babel-polyfill";
 
 Vue.use(util);
 Vue.config.productionTip = false

+ 0 - 2
web_src/static/lang/en.js

@@ -1,5 +1,3 @@
-'use strict';
-
 exports.__esModule = true;
 exports.default = {
     //index

+ 0 - 2
web_src/static/lang/zh-CN.js

@@ -1,5 +1,3 @@
-'use strict';
-
 exports.__esModule = true;
 exports.default = {
     //index

Some files were not shown because too many files changed in this diff