jufubao-admin-library 1.1.190 → 1.1.192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -913,7 +913,11 @@ export default {
|
|
|
913
913
|
message: '删除成功',
|
|
914
914
|
type: 'success'
|
|
915
915
|
})
|
|
916
|
-
this.tables = this.tables.filter(item => !ids.map(id => id.shop_id).includes(item.shop_id))
|
|
916
|
+
// this.tables = this.tables.filter(item => !ids.map(id => id.shop_id).includes(item.shop_id))
|
|
917
|
+
this.tables = this.tables.filter(item => {
|
|
918
|
+
let findItem = ids.find(id => id.shop_id === item.shop_id && id.resource_shop_id === item.resource_shop_id)
|
|
919
|
+
return !findItem;
|
|
920
|
+
})
|
|
917
921
|
// this.getList('list');
|
|
918
922
|
})
|
|
919
923
|
},
|