Browse Source

新建商品清空表单

master
lyt 2 years ago committed by Loki
parent
commit
ad37b47ede
  1. 8
      src/views/bxg/shop/goods/form.vue

8
src/views/bxg/shop/goods/form.vue

@ -670,6 +670,14 @@ export default {
// //
deep: true deep: true
}, },
$route(to,form){
console.log(to.fullPath)
if(to.fullPath=='/bxg/shop/goodsAdd'){
this.resetForm()
}else{
this.getInfo();
}
}
}, },
mounted () { mounted () {
this.getInfo(); this.getInfo();

Loading…
Cancel
Save