|
@@ -217,6 +217,11 @@ export default {
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
this.foodSource = getFoodSourceByUrl(this.$route.path)
|
|
this.foodSource = getFoodSourceByUrl(this.$route.path)
|
|
|
|
|
+ if (this.foodSource === 'ENTRY' || this.foodSource === '') {
|
|
|
|
|
+ this.listQuery.orderBy = 0
|
|
|
|
|
+ } else {
|
|
|
|
|
+ this.listQuery.orderBy = 1
|
|
|
|
|
+ }
|
|
|
this.fetchData()
|
|
this.fetchData()
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|