|
|
@@ -1097,7 +1097,14 @@ export default {
|
|
|
storeJoinVisit(val, index) {
|
|
|
joinInPlan({ storeId: val.storeId }).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
+ // el-popover click事件需要重新绑定,强制刷新页面
|
|
|
this.list.splice(index, 1);
|
|
|
+ let copyList = JSON.parse(JSON.stringify(this.list));
|
|
|
+ this.list = [];
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.list = copyList;
|
|
|
+ this.$forceUpdate();
|
|
|
+ });
|
|
|
// this.onSearch();
|
|
|
} else {
|
|
|
this.$dialog.alert({
|