n20-common-lib 1.3.119 → 1.3.121
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
|
@@ -63,7 +63,8 @@
|
|
|
63
63
|
|
|
64
64
|
<el-dropdown-menu slot="dropdown">
|
|
65
65
|
<div class="user-info-name flex-box p-l p-r p-t-s p-b-s" style="max-width: 300px">
|
|
66
|
-
<span class="pointer" @click="goMdmUser">{{ userInfo.userName }}</span>
|
|
66
|
+
<span v-if="customOpt.userMd" class="pointer" @click="goMdmUser">{{ userInfo.userName }}</span>
|
|
67
|
+
<span v-else class="pointer">{{ userInfo.userName }}</span>
|
|
67
68
|
<div class="flex-column flex-l">
|
|
68
69
|
<span
|
|
69
70
|
v-title="userInfo.companyName"
|
|
@@ -206,6 +207,7 @@ export default {
|
|
|
206
207
|
hideDowApp: undefined,
|
|
207
208
|
hideTheme: undefined,
|
|
208
209
|
userInfo: {},
|
|
210
|
+
userMd: undefined,
|
|
209
211
|
userNo: window.sessionStorage.getItem('userNo'),
|
|
210
212
|
durationTime: $lc('00小时00分00秒'),
|
|
211
213
|
cpwdV: false,
|
|
@@ -223,7 +225,6 @@ export default {
|
|
|
223
225
|
created() {
|
|
224
226
|
getJsonc('/server-config.jsonc').then(({ _layoutData = {}, loginSetting }) => {
|
|
225
227
|
let _loginSetting = loginSetting || _layoutData.loginSetting
|
|
226
|
-
|
|
227
228
|
this.headerLogoUrl = realUrl(_layoutData.headerLogoUrl)
|
|
228
229
|
this.headerUserUrl = realUrl(_layoutData.headerUserUrl)
|
|
229
230
|
this.headerLogoWidth = _layoutData.headerLogoWidth
|