hive-app/pages/workbench/selectService/shoppingCart.vue
@@ -44,12 +44,22 @@ default: [] } }, data(){ return{ isShow: false } }, methods:{ show(){ toggle(){ if(!this.list.length){ return; } this.$refs.popup.open(); this.isShow = !this.isShow; if(this.isShow){ this.$refs.popup.open(); }else{ this.hide(); } }, hide(){ this.$refs.popup.close();