n20-common-lib 2.22.33 → 2.22.35

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.22.33",
3
+ "version": "2.22.35",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -35,11 +35,12 @@
35
35
  padding-right: 16px;
36
36
  box-sizing: border-box;
37
37
  width: 25%;
38
+ display: inline-flex;
39
+ align-items: center;
38
40
 
39
41
  .el-checkbox__label {
40
- display: inline-block;
41
- width: calc(100% - 20px);
42
- vertical-align: bottom;
42
+ flex: 1;
43
+ min-width: 0;
43
44
  white-space: nowrap;
44
45
  overflow: hidden;
45
46
  text-overflow: ellipsis;
@@ -82,7 +82,7 @@
82
82
 
83
83
  <loginForm
84
84
  v-if="operateType === 'login'"
85
- ref="simpleLogin"
85
+ ref="login-form"
86
86
  class="login-form"
87
87
  :before-login="beforeLogin"
88
88
  :login-types="loginTypes"
@@ -468,7 +468,7 @@ export default {
468
468
  }
469
469
  },
470
470
  jwtLogin(data) {
471
- this.$refs.simpleLogin.loginAfter(data)
471
+ this.$refs['login-form'].loginAfter(data)
472
472
  },
473
473
  async init() {
474
474
  const { _layoutData = {}, langConf = {}, loginSetting, screenInspect } = await getJsonc('/server-config.jsonc')