Sendya 4 жил өмнө
parent
commit
6def3d7117
8 өөрчлөгдсөн 745 нэмэгдсэн , 629 устгасан
  1. 3 2
      README.md
  2. 3 2
      README.zh-CN.md
  3. 3 1
      babel.config.js
  4. BIN
      dist.zip
  5. 3 5
      package.json
  6. 1 1
      src/layouts/BasicLayout.vue
  7. 1 1
      src/main.js
  8. 731 617
      yarn.lock

+ 3 - 2
README.md

@@ -9,6 +9,7 @@ An out-of-box UI solution for enterprise applications as a Vue boilerplate. base
 
 [![License](https://img.shields.io/npm/l/package.json.svg?style=flat)](https://github.com/vueComponent/ant-design-vue-pro/blob/master/LICENSE)
 [![Release](https://img.shields.io/github/release/vueComponent/ant-design-vue-pro.svg?style=flat)](https://github.com/vueComponent/ant-design-vue-pro/releases/latest)
+[![Support Vue Version](https://img.shields.io/badge/Support-Vue2-green?style=flat)](https://github.com/vueComponent/ant-design-vue-pro/releases/latest)
 [![Travis branch](https://travis-ci.org/vueComponent/ant-design-vue-pro.svg?branch=master)](https://travis-ci.org/vueComponent/ant-design-vue-pro)
 
 </div>
@@ -30,8 +31,8 @@ Overview
 - yarn
 - webpack
 - eslint
-- @vue/cli ~3
-- [ant-design-vue](https://github.com/vueComponent/ant-design-vue) - Ant Design Of Vue 
+- @vue/cli
+- [ant-design-vue@1.x](https://github.com/vueComponent/ant-design-vue) - Ant Design Of Vue 
 - [vue-cropper](https://github.com/xyxiao001/vue-cropper) - Picture edit
 - [@antv/g2](https://antv.alipay.com/zh-cn/index.html) - AntV G2
 - [Viser-vue](https://viserjs.github.io/docs.html#/viser/guide/installation)  - Antv/G2 of Vue

+ 3 - 2
README.zh-CN.md

@@ -9,6 +9,7 @@ An out-of-box UI solution for enterprise applications as a Vue boilerplate. base
 
 [![License](https://img.shields.io/npm/l/package.json.svg?style=flat)](https://github.com/vueComponent/ant-design-vue-pro/blob/master/LICENSE)
 [![Release](https://img.shields.io/github/release/vueComponent/ant-design-vue-pro.svg?style=flat)](https://github.com/vueComponent/ant-design-vue-pro/releases/latest)
+[![Support Vue Version](https://img.shields.io/badge/Support-Vue2-green?style=flat)](https://github.com/vueComponent/ant-design-vue-pro/releases/latest)
 [![Travis branch](https://travis-ci.org/vueComponent/ant-design-vue-pro.svg?branch=master)](https://travis-ci.org/vueComponent/ant-design-vue-pro)
 
 </div>
@@ -34,8 +35,8 @@ Overview
 - yarn
 - webpack
 - eslint
-- @vue/cli ~3
-- [ant-design-vue](https://github.com/vueComponent/ant-design-vue) - Ant Design Of Vue 实现
+- @vue/cli
+- [ant-design-vue@1.x](https://github.com/vueComponent/ant-design-vue) - Ant Design Of Vue 实现
 - [vue-cropper](https://github.com/xyxiao001/vue-cropper) - 头像裁剪组件
 - [@antv/g2](https://antv.alipay.com/zh-cn/index.html) - Alipay AntV 数据可视化图表
 - [Viser-vue](https://viserjs.github.io/docs.html#/viser/guide/installation)  - antv/g2 封装实现

+ 3 - 1
babel.config.js

@@ -1,7 +1,9 @@
 const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV)
+const IS_PREVIEW = process.env.VUE_APP_PREVIEW === 'true'
 
 const plugins = []
-if (IS_PROD) {
+if (IS_PROD && !IS_PREVIEW) {
+  // 去除日志的插件,
   plugins.push('transform-remove-console')
 }
 

BIN
dist.zip


+ 3 - 5
package.json

@@ -1,6 +1,6 @@
 {
   "name": "vue-antd-pro",
-  "version": "3.0.0",
+  "version": "3.0.1",
   "private": true,
   "scripts": {
     "serve": "vue-cli-service serve",
@@ -11,9 +11,9 @@
     "lint:nofix": "vue-cli-service lint --no-fix"
   },
   "dependencies": {
-    "@ant-design-vue/pro-layout": "^1.0.7",
+    "@ant-design-vue/pro-layout": "^1.0.8",
     "@antv/data-set": "^0.10.2",
-    "ant-design-vue": "^1.7.2",
+    "ant-design-vue": "^1.7.5",
     "axios": "^0.19.0",
     "core-js": "^3.1.2",
     "enquire.js": "^2.1.6",
@@ -55,8 +55,6 @@
     "git-revision-webpack-plugin": "^3.0.6",
     "less": "^3.0.4",
     "less-loader": "^5.0.0",
-    "opencollective": "^1.0.3",
-    "opencollective-postinstall": "^2.0.2",
     "vue-svg-icon-loader": "^2.1.1",
     "vue-template-compiler": "^2.6.10",
     "webpack-theme-color-replacer": "^1.3.12"

+ 1 - 1
src/layouts/BasicLayout.vue

@@ -78,7 +78,7 @@ export default {
       // preview.pro.antdv.com only use.
       isProPreviewSite: process.env.VUE_APP_PREVIEW === 'true' && process.env.NODE_ENV !== 'development',
       // end
-      isDev: process.env.NODE_ENV === 'development',
+      isDev: process.env.NODE_ENV === 'development' || process.env.VUE_APP_PREVIEW === 'true',
 
       // base
       menus: [],

+ 1 - 1
src/main.js

@@ -36,7 +36,7 @@ new Vue({
   router,
   store,
   i18n,
-  // init localstorage, vuex
+  // init localstorage, vuex, Logo message
   created: bootstrap,
   render: h => h(App)
 }).$mount('#app')

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 731 - 617
yarn.lock


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно