From 30a1729ee64a237a547566f655fee1ce93827768 Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期四, 09 九月 2021 10:41:55 +0800 Subject: [PATCH] 上传单图组件 和 上传多图组件 添加可拖拽上传 --- src/main.js | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/main.js b/src/main.js index 1cfd752..1499820 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 => { @@ -44,6 +46,8 @@ this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'error' }) } +Vue.directive('el-drag-dialog', drag) + Vue.config.productionTip = false new Vue({ -- Gitblit v1.8.0