Commit d23ae739 by 向童

Merge branch 'develop' into 'test'

Develop See merge request !172
parents 45224834 96e1ce3b
......@@ -8,6 +8,7 @@
:showMoney="showMoney"
:showCellphone="showCellphone"
:visible="visible"
:isRefresh="isRefresh"
ref="UserInfo"
/>
<div class="right-part">
......@@ -50,6 +51,10 @@ export default {
type: Boolean,
default: false,
},
isRefresh:{
type: Boolean,
default: false,
},
},
methods: {
refreshBeanData() {
......
......@@ -11,6 +11,10 @@ export default {
type: Boolean,
default: false,
},
isRefresh:{
type: Boolean,
default: false,
},
},
data() {
return {
......@@ -26,6 +30,14 @@ export default {
this.getAllData();
}
},
isRefresh(newIsRefresh){
if(newIsRefresh && this.visible){
this.fetchUserBaseInfo({
customerId: this.customerId,
});
this.getAllData();
}
},
customerId(newId) {
if (newId && this.visible) {
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