Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
lumastoreapp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xieyishang
lumastoreapp
Commits
d42c0c12
Commit
d42c0c12
authored
Mar 07, 2022
by
xieyishang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11~
parent
3e6832fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
pages/order/order.vue
pages/order/order.vue
+4
-4
utils/debug.js
utils/debug.js
+2
-2
No files found.
pages/order/order.vue
View file @
d42c0c12
...
...
@@ -128,7 +128,7 @@
this
.
action
=
res
.
action
;
if
(
res
.
action
==
"
immediatelyOrder
"
||
res
.
action
==
"
refuseOrder
"
){
//接单 拒绝接单
if
(
this
.
status
!=
'
all
'
){
//只有不是在全部订单下才删除这一项
orderlist
.
splice
(
index
,
1
);
//删除某项
orderlist
.
splice
(
index
,
1
);
//删除某项
可能有问题
this
.
$set
(
this
,
'
orderlist
'
,
orderlist
);
}
else
{
this
.
listDeal
();
...
...
@@ -247,7 +247,7 @@
uni
.
hideLoading
();
for
(
let
item
of
res
.
data
){
if
(
item
.
order_id
==
order_id
){
this
.
$set
(
this
.
orderlist
,
index
,
item
);
this
.
$set
(
this
.
orderlist
,
index
,
item
);
//可能有问题
break
;
}
}
...
...
@@ -260,7 +260,7 @@
}
else
{
let
orderlist
=
this
.
orderlist
;
orderlist
.
splice
(
index
,
1
);
//删除某项
this
.
$set
(
this
,
'
orderlist
'
,
orderlist
);
this
.
$set
(
this
,
'
orderlist
'
,
orderlist
);
//可能有问题
}
},
//获取订单状态
...
...
@@ -296,7 +296,7 @@
if
(
res
.
data
==
null
||
res
.
data
.
length
==
0
)
{
this
.
is_loading_done
=
true
;
}
else
{
this
.
orderlist
=
[...
this
.
orderlist
,...
res
.
data
];
this
.
orderlist
=
[...
this
.
orderlist
,...
res
.
data
];
//可能有问题
}
}
else
{
this
.
$api
.
msg
(
res
.
msg
);
...
...
utils/debug.js
View file @
d42c0c12
...
...
@@ -5,8 +5,8 @@ module.exports = {
isdebug
:
false
,
//正式
//
isdebug:true,//测试
//
isdebug:false,//正式
isdebug
:
true
,
//测试
// xqdebug:false,//正式权限
xqdebug
:
true
,
//发布审核权限 也是测试环境的 主要用于ios
...
...
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