From 9b3e7c3c47dc27e531a7b954aa2b3ba500c84b78 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期四, 10 八月 2023 16:33:18 +0800 Subject: [PATCH] 项目整体弹窗提示 --- src/main.js | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 8bc9dcf..67396d3 100644 --- a/src/main.js +++ b/src/main.js @@ -57,6 +57,18 @@ componentPrefix: 'vc', }); +//娉ㄥ叆鍏ㄥ眬灞炴��$message +import {message,notification } from 'ant-design-vue' +Vue.prototype.$message = message +Vue.prototype.$notification = notification +message.config({ +}) +notification.config({ + bottom:'20px', + right:'100px' +}) + + // import 'echarts-liquidfill' Vue.prototype.$echarts = echarts Vue.prototype.$qs = qs -- Gitblit v1.9.3