The dataSource of the table should be bound to an array instead of an object! ! !
Cause Analysis:
The slice method is a method that works on arrays. The data bound here is directly assigned after obtaining res.data from the interface, but res.data is an object, so an error will be reported. Just re-assign to res.data.list in the result set.