Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BCDH-APP
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
首开风险隐患双控平台
BCDH-APP
Commits
5a469b0e
Commit
5a469b0e
authored
Nov 24, 2021
by
罗新东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了暂无无数据乱飘的bug
parent
6476a59a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
src/views/danger/changeDanger/index.vue
src/views/danger/changeDanger/index.vue
+11
-6
No files found.
src/views/danger/changeDanger/index.vue
View file @
5a469b0e
...
...
@@ -85,7 +85,7 @@
</van-cell-group>
</div>
<!-- 暂无数据 -->
<div
<div
style=
"
width: 100%;
text-align: center;
...
...
@@ -93,7 +93,7 @@
position: fixed;
top: 30%;
"
v-if=
"
onClickTab
.length == 0"
v-if=
"
messageList
.length == 0"
>
暂无数据
</div>
...
...
@@ -161,6 +161,7 @@
</van-cell-group>
</div>
<!-- 暂无数据 -->
<!-- {{messageList}} -->
<div
style=
"
width: 100%;
...
...
@@ -222,7 +223,7 @@ export default {
});
postFun
(
`/rectification/delete/
${
val
.
taskId
}
`
)
.
then
((
res
)
=>
{
console
.
log
(
res
,
'
怎么样
'
)
//
console.log(res,'怎么样')
this
.
$toast
.
clear
();
this
.
$toast
.
success
({
message
:
"
关闭成功
"
,
...
...
@@ -260,12 +261,13 @@ export default {
[
list1
,
list2
]
[
val
](
formdata
)
.
then
((
res
)
=>
{
console
.
log
(
res
.
rows
)
this
.
$toast
.
clear
();
this
.
messageList
=
res
.
rows
;
// 判断有无数据返回
if
(
this
.
messageList
.
length
==
0
)
{
this
.
isHaveNews
=
true
;
}
//
if (this.messageList.length == 0) {
//
this.isHaveNews = true;
//
}
})
.
catch
(()
=>
{
this
.
$toast
.
clear
();
...
...
@@ -387,4 +389,7 @@ export default {
}
}
}
/deep/.van-tab__pane-wrapper{
min-height: 8rem;
}
</
style
>
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