|
@@ -186,6 +186,7 @@ export default {
|
|
// 打开弹窗
|
|
// 打开弹窗
|
|
getDialog() {
|
|
getDialog() {
|
|
this.dialogVisible = true
|
|
this.dialogVisible = true
|
|
|
|
+ this.ids = []
|
|
this.getPage()
|
|
this.getPage()
|
|
},
|
|
},
|
|
|
|
|
|
@@ -234,6 +235,7 @@ export default {
|
|
},
|
|
},
|
|
// 表格多选
|
|
// 表格多选
|
|
getChange(row) {
|
|
getChange(row) {
|
|
|
|
+ this.ids = []
|
|
if (row.length > 0) {
|
|
if (row.length > 0) {
|
|
row.map(i => {
|
|
row.map(i => {
|
|
if (this.ids.findIndex(j => j === i.id) === -1) {
|
|
if (this.ids.findIndex(j => j === i.id) === -1) {
|