Commit 9b28ccb8 authored by ljd's avatar ljd

pageInit-data.json

parent 11545047
......@@ -53,7 +53,7 @@ export default {
})
},
post(uri, data, headers) {
headers = headers || { 'Content-Type': 'application/json; charset=UTF-8', 'Accept': 'application/json' }
headers = headers || { 'Content-Type': 'application/json; charset=UTF-8', Accept: 'application/json' }
const formatData = function(data) {
let ret = ''
for (const it in data) {
......
......@@ -70,14 +70,14 @@ export default {
},
data() {
return {
goods:goods,
goods: goods,
listHeight: [],
scrollY: 0,
selectedFood: {}
}
},
created(){
console.log('goods',goods)
created() {
console.log('goods', goods)
},
computed: {
currentIndex() {
......@@ -176,7 +176,7 @@ export default {
this.$refs.shopcart.drop(event)
})
}
},
}
// components: {
// shopcart,
// cartcontrol,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment