vue3 vite 安装 vuedraggable 如果遇到错误 Uncaught TypeError: isFunction is not a function
Uncaught TypeError: isFunction is not a function
at defineComponent (chunk-YDIGASQ7.js?v=fc28f8a3:3440:10)
at chunk-J5QPGEHS.js?v=fc28f8a3:4:64
// 旧的 functiondefineComponent(options, extraOptions){returnisFunction(options)?(// #8326: extend call and options.name access are considered side-effects// by Rollup, so we have to wrap it in a pure-annotated IIFE.(()=>extend({name: options.name }, extraOptions,{setup: options }))()): options;}// 新的 functiondefineComponent(options, extraOptions){if(isFunction){returnisFunction(options)?(// #8326: extend call and options.name access are considered side-effects// by Rollup, so we have to wrap it in a pure-annotated IIFE.(()=>extend({name: options.name }, extraOptions,{setup: options }))()): options;}else{return options
}}