|
@@ -524,7 +524,8 @@ export default {
|
|
|
})
|
|
|
// this.options = arr
|
|
|
console.log('将要赋值')
|
|
|
- this.$set(this, 'options', arr)
|
|
|
+ var newArr = arr.length > 0 ? arr : res.data.records
|
|
|
+ this.$set(this, 'options', newArr)
|
|
|
this.cursor = res.data.nextCursor
|
|
|
} else {
|
|
|
this.$message({
|