Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rbc-demo
Overview
Overview
Details
Activity
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
王衍超
rbc-demo
Commits
0ca560c8
Commit
0ca560c8
authored
Mar 08, 2022
by
Joey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(@rbc/bill-runner-query): 页签切换时刷新
parent
93df37c4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletions
+16
-1
query-runner.vue
develop/@rbc/bill-runner-query/src/views/query-runner.vue
+16
-1
No files found.
develop/@rbc/bill-runner-query/src/views/query-runner.vue
View file @
0ca560c8
<
template
>
<gms-query
:templateName=
"config.name"
v-if=
"config.name"
v-if=
"config.name
&& visible
"
:extrCondition=
"extrCondition"
:tableHeight=
"tableHeight"
></gms-query>
...
...
@@ -29,6 +29,7 @@ export default {
return
{
extrCondition
:
[],
tableHeight
:
height
,
visible
:
true
,
};
},
mounted
()
{
...
...
@@ -38,6 +39,20 @@ export default {
if
(
GMS
.
$hideContainer
.
$route
.
query
&&
GMS
.
$hideContainer
.
$route
.
query
.
param
){
this
.
extrCondition
=
GMS
.
$hideContainer
.
$route
.
query
.
param
.
fieldQueryRelation
;
}
this
.
$root
.
$on
(
'updated'
,
this
.
refresh
)
},
beforeUnmount
()
{
this
.
$root
.
$off
(
'updated'
,
this
.
refresh
)
},
methods
:
{
refresh
(
visible
)
{
if
(
visible
==
'show'
)
{
this
.
visible
=
false
this
.
$nextTick
(()
=>
{
this
.
visible
=
true
})
}
},
},
};
</
script
>
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