Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-vue
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
李苏
lxyl-vue
Commits
445935fb
Commit
445935fb
authored
Jun 05, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v-show 覆盖style
parent
3bf0fefb
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
AppMain.vue
src/layout/components/AppMain.vue
+5
-8
index.vue
src/views/ccgl/cxfx/rqcx/index.vue
+2
-0
index.vue
src/views/jcsj/wl/wlxx/index.vue
+3
-1
No files found.
src/layout/components/AppMain.vue
View file @
445935fb
<
template
>
<section
class=
"app-main"
>
<keep-alive
>
<template
v-show=
"isCache"
>
<router-view
/>
</
template
>
<router-view
v-show=
"isCache"
/>
</keep-alive>
<router-view
v-if=
"!isCache"
/>
...
...
@@ -20,6 +17,9 @@ export default {
},
},
watch
:{
isCache
(
val
){
console
.
log
(
val
)
},
cachedViews
(
val
){
this
.
JSONcachedViews
=
JSON
.
stringify
(
val
)
},
...
...
@@ -34,9 +34,6 @@ export default {
}
},
$route
(
val
){
// console.log(this.isCache)
// debugger
this
.
isCache
=
true
this
.
key
=
val
.
name
if
(
this
.
addBz
){
if
(
this
.
oldCachedViews
.
includes
(
val
.
name
)){
...
...
src/views/ccgl/cxfx/rqcx/index.vue
View file @
445935fb
<
template
>
<div
class=
"full"
>
<div
style=
"display: flex;"
>
<Xq
v-if=
"showDialog"
:app=
'this'
/>
<!--
<div
class=
"min_full"
style=
"width: 200px;border-right: 0px;"
>
...
...
@@ -69,6 +70,7 @@
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
...
...
src/views/jcsj/wl/wlxx/index.vue
View file @
445935fb
<
template
>
<div
style=
"display: flex;"
>
<div
class=
"flex"
>
<Tbwl
:app=
'this'
v-if=
"showDialog"
/>
<div
class=
"min_full"
style=
"width: 200px;border-right: 0px;"
>
<LazyTree
treeTitle=
'物料分类'
@
selected=
'selectedTree'
url=
'jcsj/wlfl/queryroot'
/>
...
...
@@ -51,6 +52,7 @@
</div>
</div>
</div>
</template>
<
script
>
import
{
...
...
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