From a4b91616ceae752e11cb6fc5198ebadf52cd68ed Mon Sep 17 00:00:00 2001 From: jazz <jazzxhunter@163.com> Date: 星期三, 24 八月 2022 16:05:15 +0800 Subject: [PATCH] update_202208241604_下载模板修改链接 --- src/main.js | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 1cfd752..c2eae2a 100644 --- a/src/main.js +++ b/src/main.js @@ -20,6 +20,8 @@ import Pagination from '@/components/Pagination' // 鑷畾涔夎〃鏍煎伐鍏锋墿灞� import RightToolbar from '@/components/RightToolbar' +// 鎷栨嫿寮圭獥 +import drag from './directive/el-drag-dialog/drag' // 杩囨护鍣ㄧ粺涓�澶勭悊鍔犺浇 Object.keys(filter).forEach(key => { @@ -37,13 +39,15 @@ Vue.prototype.$messageSuc = function(msg) { this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'success' }) } -Vue.prototype.$messagewarn = function(msg) { +Vue.prototype.$messageWarn = function(msg) { this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'warning' }) } Vue.prototype.$messageError = function(msg) { this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'error' }) } +Vue.directive('el-drag-dialog', drag) + Vue.config.productionTip = false new Vue({ -- Gitblit v1.8.0