n20-common-lib 2.9.44 → 2.9.46
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
|
@@ -231,7 +231,11 @@
|
|
|
231
231
|
type="textarea"
|
|
232
232
|
placeholder="请输入内容"
|
|
233
233
|
:maxlength="formItem.maxlength || '150'"
|
|
234
|
-
show-word-limit
|
|
234
|
+
:show-word-limit="
|
|
235
|
+
formItem.showWordLimit === null || formItem.showWordLimit === undefined
|
|
236
|
+
? true
|
|
237
|
+
: formItem.showWordLimit
|
|
238
|
+
"
|
|
235
239
|
v-bind="{ rows: 4, ...formItem }"
|
|
236
240
|
:clearable="formItem.clearable === false ? false : true"
|
|
237
241
|
@change="(value) => $emit('valueChange', value, key)"
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:before-login="beforeLogin"
|
|
7
7
|
:login-types="loginTypes"
|
|
8
8
|
:login-then="loginThen"
|
|
9
|
-
:
|
|
9
|
+
:sync-related="syncRelated"
|
|
10
10
|
:async-rela-nos="asyncRelaNos"
|
|
11
11
|
:show-forget-btn="showForgetBtn"
|
|
12
12
|
style="display: none"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
:before-login="beforeLogin"
|
|
27
27
|
:login-types="loginTypes"
|
|
28
28
|
:login-then="loginThen"
|
|
29
|
-
:
|
|
29
|
+
:sync-related="syncRelated"
|
|
30
30
|
:async-rela-nos="asyncRelaNos"
|
|
31
31
|
:show-image-code="showImageCode"
|
|
32
32
|
:show-forget-btn="showForgetBtn"
|
|
@@ -165,7 +165,18 @@ export default {
|
|
|
165
165
|
return this.pageData.MAIN_PAGE_TEXT?.pmValue || this.jsonData.loginCopyright || ''
|
|
166
166
|
},
|
|
167
167
|
loginSloganHtml() {
|
|
168
|
-
|
|
168
|
+
switch (this._lang) {
|
|
169
|
+
case 'zh':
|
|
170
|
+
return this.jsonData.loginSloganHtml || ''
|
|
171
|
+
case 'en':
|
|
172
|
+
return this.jsonData.loginSloganHtmlEn || ''
|
|
173
|
+
case 'th':
|
|
174
|
+
return this.jsonData.loginSloganHtmlTh || ''
|
|
175
|
+
case 'vi':
|
|
176
|
+
return this.jsonData.loginSloganHtmlVi || ''
|
|
177
|
+
default:
|
|
178
|
+
return this.jsonData.loginSloganHtml || ''
|
|
179
|
+
}
|
|
169
180
|
}
|
|
170
181
|
},
|
|
171
182
|
created() {
|
|
@@ -359,7 +359,18 @@ export default {
|
|
|
359
359
|
return this.jsonData.showSystem ?? true
|
|
360
360
|
},
|
|
361
361
|
loginSloganHtml() {
|
|
362
|
-
|
|
362
|
+
switch (this._lang) {
|
|
363
|
+
case 'zh':
|
|
364
|
+
return this.form.LOGIN_SLOGAN || this.jsonData.loginSloganHtml || ''
|
|
365
|
+
case 'en':
|
|
366
|
+
return this.form.LOGIN_SLOGAN || this.jsonData.loginSloganHtmlEn || ''
|
|
367
|
+
case 'th':
|
|
368
|
+
return this.form.LOGIN_SLOGAN || this.jsonData.loginSloganHtmlTh || ''
|
|
369
|
+
case 'vi':
|
|
370
|
+
return this.form.LOGIN_SLOGAN || this.jsonData.loginSloganHtmlVi || ''
|
|
371
|
+
default:
|
|
372
|
+
return this.form.LOGIN_SLOGAN || this.jsonData.loginSloganHtml || ''
|
|
373
|
+
}
|
|
363
374
|
},
|
|
364
375
|
systemList() {
|
|
365
376
|
return this.form.SYSTEM_LIST.filter((d) => d.OPEN)
|