"export 'default' (imported as 'arrayMove') was not found in 'array-move'
时间: 2023-09-25 12:15:43 浏览: 86
This error occurs when you try to import a default export from a module that does not have a default export.
In this specific case, it seems like you are trying to import a default export called 'arrayMove' from the 'array-move' module, but this module does not have a default export.
To fix this error, you need to import the correct named export from the 'array-move' module. You can check the documentation or source code of the module to find out what named exports it provides.
For example, if the 'array-move' module provides a named export called 'move', you can import it like this:
```
import { move } from 'array-move';
```
Then you can use the 'move' function in your code instead of the undefined default export.
阅读全文