From 1ece3229cdd6c5bb3a02b968a0270665700d9db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E9=91=AB?= Date: Fri, 18 Dec 2020 13:48:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=90=E7=BB=84=E4=BB=B6=E7=9B=91=E5=90=AC?= =?UTF-8?q?=E7=88=B6=E7=BB=84=E4=BB=B6=E5=80=BC=E5=8F=98=E5=8C=96=E7=9A=84?= =?UTF-8?q?watch=E7=9B=91=E5=90=AC=E6=9B=B4=E6=96=B0=E6=B3=A8=E9=87=8A?= =?UTF-8?q?=EF=BC=8Clogo=E9=97=B4=E8=B7=9D=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/AsideMenu.vue | 2 +- src/views/roadwayManage/model.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/layouts/AsideMenu.vue b/src/layouts/AsideMenu.vue index 6c5c75d..43831e3 100644 --- a/src/layouts/AsideMenu.vue +++ b/src/layouts/AsideMenu.vue @@ -145,7 +145,7 @@ export default { img{ width: 24px; height: 24px; - margin: 10px; + margin:10px 10px 10px 15px; } .logo-title{ transition-delay: 0.5s; diff --git a/src/views/roadwayManage/model.vue b/src/views/roadwayManage/model.vue index db5a45b..dd6e66b 100644 --- a/src/views/roadwayManage/model.vue +++ b/src/views/roadwayManage/model.vue @@ -182,7 +182,7 @@ export default { //监听并接收父组件的visible并赋值给isShow(子组件接收父组件props传过来的值时不能起一样的类名,会报重复定义的错) visible: function(newVal){ this.isShow = newVal; //newVal即是visible - // newVal && this.showConfirm(); //newVal存在的话执行showConfirm函数 + // newVal && this.xxx(); //newVal存在的话执行this.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,{}) //第二个参数表示每次$emit的时候就将modelData重新赋值,使watch 监听的modelData:函数不断监听到变化而触发,解决默认只触发一次下次再点开详情为空值的问题 }, handleSelectChangeLeft(value) {