Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wxh-order-h5
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
wxh-order-h5
Commits
9b28ccb8
Commit
9b28ccb8
authored
May 26, 2020
by
ljd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pageInit-data.json
parent
11545047
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
request.js
web/src/utils/request.js
+1
-1
goods.vue
web/src/views/haier/components/goods.vue
+4
-4
No files found.
web/src/utils/request.js
View file @
9b28ccb8
...
...
@@ -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
)
{
...
...
web/src/views/haier/components/goods.vue
View file @
9b28ccb8
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment