Commit f3fb5e36 by 向童

'增加判断'

parent 60d56553
......@@ -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(){
if( this.isRefresh){
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