@@ -33,7 +33,9 @@ export default {
total: 0,
}),
created() {
- this.search();
+ if (this.id) {
+ this.search();
+ }
},
computed: {
...mapState(['user', 'defaultOption']),