n20-common-lib 1.3.95 → 1.3.96

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": "1.3.95",
3
+ "version": "1.3.96",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -117,6 +117,9 @@
117
117
  loginTypeMap[item]
118
118
  }}</el-dropdown-item>
119
119
  </template>
120
+ <el-dropdown-item command="account">
121
+ <slot name="other"></slot>
122
+ </el-dropdown-item>
120
123
  </el-dropdown-menu>
121
124
  </el-dropdown>
122
125
 
@@ -157,6 +160,10 @@ export default {
157
160
  loginThen: {
158
161
  type: Function,
159
162
  default: undefined
163
+ },
164
+ otherName: {
165
+ type: String,
166
+ default: ''
160
167
  }
161
168
  },
162
169
  data() {
@@ -24,6 +24,9 @@
24
24
  @changType="getChangetype"
25
25
  >
26
26
  <div slot="header" class="login-form-header m-b text-c">{{ '欢 迎 登 录' | $lc }}</div>
27
+ <el-dropdown-item slot="other">
28
+ <slot name="others"></slot>
29
+ </el-dropdown-item>
27
30
  <div slot="footer" class="login-form-footer m-t text-r">
28
31
  <slot name="footer">
29
32
  {{ '为达到更好的体验效果,请' | $lc