子组件监听父组件值变化的watch监听更新注释,logo间距微调

merge-requests/1/head
张鑫 5 years ago
parent 0c5c411b09
commit 1ece3229cd

@ -145,7 +145,7 @@ export default {
img{
width: 24px;
height: 24px;
margin: 10px;
margin:10px 10px 10px 15px;
}
.logo-title{
transition-delay: 0.5s;

@ -182,7 +182,7 @@ export default {
//visibleisShowprops
visible: function(newVal){
this.isShow = newVal; //newValvisible
// newVal && this.showConfirm(); //newValshowConfirm
// newVal && this.xxx(); //newValthis.xxx()
},
modelTitle: function(newVal){
this.title = newVal;
@ -290,7 +290,7 @@ export default {
handleCancel() {
console.log('Clicked cancel button');
console.log(this.title);
this.$emit('close',false,{})
this.$emit('close',false,{}) //$emitmodelData使watch modelData
},
handleSelectChangeLeft(value) {

Loading…
Cancel
Save