n20-common-lib 1.2.31 → 1.2.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -13,13 +13,8 @@
|
|
|
13
13
|
<el-divider direction="vertical" />
|
|
14
14
|
<!-- eslint-disable-next-line vue/no-v-html -->
|
|
15
15
|
<h3 class="header-title" v-html="headerTitle"></h3>
|
|
16
|
-
<el-tooltip
|
|
17
|
-
class="set-user-btn"
|
|
18
|
-
effect="dark"
|
|
19
|
-
content="帮助文档"
|
|
20
|
-
placement="top-start"
|
|
21
|
-
>
|
|
22
|
-
<i class="el-icon-info" @click="openHelp"></i>
|
|
16
|
+
<el-tooltip content="帮助文档">
|
|
17
|
+
<span class="set-user-btn el-icon-info" @click="openHelp"></span>
|
|
23
18
|
</el-tooltip>
|
|
24
19
|
|
|
25
20
|
<el-dropdown
|
|
@@ -94,9 +89,12 @@
|
|
|
94
89
|
<el-dropdown-item command="changePassword" divided>{{
|
|
95
90
|
'修改密码' | $l(i18n)
|
|
96
91
|
}}</el-dropdown-item>
|
|
97
|
-
<el-dropdown-item
|
|
98
|
-
|
|
99
|
-
|
|
92
|
+
<el-dropdown-item
|
|
93
|
+
v-if="customOpt.mydeal !== false"
|
|
94
|
+
command="myDeal"
|
|
95
|
+
divided
|
|
96
|
+
>{{ '我的交易' | $l(i18n) }}</el-dropdown-item
|
|
97
|
+
>
|
|
100
98
|
<el-dropdown-item
|
|
101
99
|
v-if="customOpt.agency && customOpt.agency.show"
|
|
102
100
|
command="myAgency"
|
|
@@ -214,13 +214,6 @@ export default {
|
|
|
214
214
|
},
|
|
215
215
|
getTabList() {
|
|
216
216
|
let tabList = JSON.parse(window.sessionStorage.getItem('tab-list')) || []
|
|
217
|
-
if (!tabList.some((tab) => tab.route === this.keepTab)) {
|
|
218
|
-
let menu = this.menuList.find((m) => m.route === this.keepTab)
|
|
219
|
-
if (menu) {
|
|
220
|
-
let keepMenu = Object.assign({}, menu, { keep: true })
|
|
221
|
-
tabList.unshift(keepMenu)
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
217
|
this.tabList = tabList
|
|
225
218
|
},
|
|
226
219
|
setTabList() {
|
|
@@ -232,9 +225,9 @@ export default {
|
|
|
232
225
|
)
|
|
233
226
|
if (tab) {
|
|
234
227
|
this.activeNav = tab.uuid
|
|
235
|
-
} else {
|
|
228
|
+
} else if (this.keepTab) {
|
|
236
229
|
this.$router.replace({
|
|
237
|
-
path: this.keepTab
|
|
230
|
+
path: this.keepTab
|
|
238
231
|
})
|
|
239
232
|
}
|
|
240
233
|
},
|