From d40af76800dc836e0f02d66b3ce5fef5ae52e36f Mon Sep 17 00:00:00 2001 From: cgd_mac <349008059@qq.com> Date: Fri, 25 Feb 2022 19:47:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A9=BA=E5=9B=BE=E7=89=87=E7=BB=9F?= =?UTF-8?q?=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 4 +++- src/views/index/welcome.vue | 24 +++++++++++-------- src/views/mycollection/index.vue | 2 +- .../mycourseList/CourseRecommendation.vue | 2 +- src/views/myhome/index.vue | 3 ++- src/views/mypractice/index.vue | 2 +- src/views/user/Login.vue | 6 ++++- 7 files changed, 27 insertions(+), 16 deletions(-) diff --git a/src/main.js b/src/main.js index ffdba7f..6ecd7bf 100644 --- a/src/main.js +++ b/src/main.js @@ -18,7 +18,7 @@ import './permission' // permission control import './utils/filter' // global filter import './global.less' import moment from 'moment' -import { FormModel } from 'ant-design-vue' +import { FormModel, Empty } from 'ant-design-vue' import { hasBtnPermission } from './utils/permissions' window.Vue = Vue @@ -35,7 +35,9 @@ window.Vue = Vue // } from 'echarts/components' Vue.use(FormModel) +Vue.use(Empty) Vue.prototype.hasPerm = hasBtnPermission +Vue.prototype.$emptyImg = Empty.PRESENTED_IMAGE_SIMPLE Vue.config.productionTip = false diff --git a/src/views/index/welcome.vue b/src/views/index/welcome.vue index b8a4c9b..6559d28 100644 --- a/src/views/index/welcome.vue +++ b/src/views/index/welcome.vue @@ -1,22 +1,26 @@