Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
60f1145d
Commit
60f1145d
authored
Dec 31, 2021
by
胡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 页面缓存优化
parent
709e23d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
base-info.vue
src/pages/userBindNew/np/base-info.vue
+2
-1
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+3
-2
No files found.
src/pages/userBindNew/np/base-info.vue
View file @
60f1145d
...
...
@@ -2,7 +2,7 @@
<
template
>
<h-view
id=
"np-base-info"
>
<h-header
:proportion=
"[5, 1, 1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"$route
Go()
"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"$route
.meta.keepAlive = false;$routeGo();
"
>
<img
src=
"@/assets/userBind/arrow.png"
/>
<span>
基本信息
</span>
</div>
...
...
@@ -494,6 +494,7 @@ export default {
beforeRouteEnter
(
to
,
from
,
next
)
{
// 绑定查询入口
next
(
vm
=>
{
vm
.
$route
.
meta
.
keepAlive
=
true
;
vm
.
isAddNewType
=
false
if
([
'/tab/my-info'
,
'/tab/function-center'
,
'/Setting'
,
'/myBindUser'
].
includes
(
from
.
fullPath
))
{
if
(
JSON
.
parse
(
window
.
localStorage
.
getItem
(
'handleUser'
)).
status
===
'APPROVED'
)
{
...
...
src/pages/userBindNew/org/baseInfo.vue
View file @
60f1145d
...
...
@@ -9,7 +9,7 @@
<
template
>
<h-view
id=
"base-info"
class=
"public-style"
title=
"基本信息"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"$routeGo()"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"$route
.meta.keepAlive = false;$route
Go()"
>
<img
src=
"@/assets/userBind/arrow.png"
>
<span>
用户绑定
</span>
</div>
...
...
@@ -65,7 +65,7 @@
v-model=
"baseInfo.agent_username"
>
-->
<!--
<input
v-if=
"!bpClass_flag"
slot=
"content"
:placeholder=
"type"
v-model=
"baseInfo.business_license_num"
>
-->
<
/item
>
<
!--
</item>
--
>
<button
v-if=
"isAddNewType"
class=
"type-save"
@
click=
"addNewRole"
>
新增角色
</button>
</list-item>
<div
class=
"userInfo martop"
>
企业信息
</div>
...
...
@@ -615,6 +615,7 @@ export default {
created
()
{},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
vm
.
$route
.
meta
.
keepAlive
=
true
;
vm
.
getBpType
()
vm
.
getProvince
()
vm
.
isAddNewType
=
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