Commit d23ae739 by 向童

Merge branch 'develop' into 'test'

Develop See merge request !172
parents 45224834 96e1ce3b
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
:showMoney="showMoney" :showMoney="showMoney"
:showCellphone="showCellphone" :showCellphone="showCellphone"
:visible="visible" :visible="visible"
:isRefresh="isRefresh"
ref="UserInfo" ref="UserInfo"
/> />
<div class="right-part"> <div class="right-part">
...@@ -50,6 +51,10 @@ export default { ...@@ -50,6 +51,10 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
isRefresh:{
type: Boolean,
default: false,
},
}, },
methods: { methods: {
refreshBeanData() { refreshBeanData() {
......
...@@ -11,6 +11,10 @@ export default { ...@@ -11,6 +11,10 @@ export default {
type: Boolean, type: Boolean,
default: false, default: false,
}, },
isRefresh:{
type: Boolean,
default: false,
},
}, },
data() { data() {
return { return {
...@@ -26,6 +30,14 @@ export default { ...@@ -26,6 +30,14 @@ export default {
this.getAllData(); this.getAllData();
} }
}, },
isRefresh(newIsRefresh){
if(newIsRefresh && this.visible){
this.fetchUserBaseInfo({
customerId: this.customerId,
});
this.getAllData();
}
},
customerId(newId) { customerId(newId) {
if (newId && this.visible) { if (newId && this.visible) {
this.fetchUserBaseInfo({ this.fetchUserBaseInfo({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment