From 5f1729fb49a9e0c50fea5ec58fb67c01ba68c2b2 Mon Sep 17 00:00:00 2001 From: hiyuki <674883329@qq.com> Date: Wed, 2 Nov 2022 16:17:15 +0800 Subject: [PATCH] little adjust --- packages/webpack-plugin/lib/runtime/optionProcessor.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/webpack-plugin/lib/runtime/optionProcessor.js b/packages/webpack-plugin/lib/runtime/optionProcessor.js index 974582ea0f..d215e30759 100644 --- a/packages/webpack-plugin/lib/runtime/optionProcessor.js +++ b/packages/webpack-plugin/lib/runtime/optionProcessor.js @@ -28,13 +28,9 @@ export default function processOption ( } } - Vue.directive('animation', (el, binding) => { - return animation(el, binding) - }) + Vue.directive('animation', animation) - Vue.filter('transRpxStyle', style => { - return transRpxStyle(style) - }) + Vue.filter('transRpxStyle', transRpxStyle) const routes = []