Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
bb649c36
Commit
bb649c36
authored
Mar 13, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部分情况下订单列表报错
parent
1e1f3ba6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
index.vue
src/views/ecw/order/index.vue
+9
-5
No files found.
src/views/ecw/order/index.vue
View file @
bb649c36
...
@@ -240,10 +240,10 @@
...
@@ -240,10 +240,10 @@
'ecw:order:split_log',
'ecw:order:split_log',
// 下面几个是特价里的
// 下面几个是特价里的
'ecw:order:discount',
'ecw:order:discount',
'ecw:order:reduce',
'ecw:order:reduce',
'ecw:order:commission',
'ecw:order:commission',
'ecw:order:heavy',
'ecw:order:heavy',
'ecw:order:bulky'
'ecw:order:bulky'
]"
>
]"
>
<el-button
type=
"text"
>
{{
$t
(
'
操作
'
)
}}
</el-button>
<el-button
type=
"text"
>
{{
$t
(
'
操作
'
)
}}
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
...
@@ -766,7 +766,11 @@ export default {
...
@@ -766,7 +766,11 @@ export default {
}
}
// 执行查询
// 执行查询
func
(
this
.
combinedQueryParams
).
then
(
response
=>
{
func
(
this
.
combinedQueryParams
).
then
(
response
=>
{
this
.
list
=
response
.
data
.
list
;
// 部分情况下,订单后面的操作下拉菜单会显示按钮,但是下来没有选项,在elTable组件更新的时候会导致渲染错误,所以要在更新渲染前清空一次list让table彻底重新渲染,避免部分更新导致异常
this
.
list
=
[]
this
.
$nextTick
(()
=>
{
this
.
list
=
response
.
data
.
list
})
this
.
total
=
response
.
data
.
total
;
this
.
total
=
response
.
data
.
total
;
this
.
loading
=
false
;
this
.
loading
=
false
;
});
});
...
...
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