n20-common-lib 2.6.5 → 2.6.7

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.6.5",
3
+ "version": "2.6.7",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -241,6 +241,14 @@ export default {
241
241
  loginTypes() {
242
242
  this.theType = this.loginTypes[0]
243
243
  },
244
+ showImageCode: {
245
+ handler(val) {
246
+ if (val) {
247
+ this.getImgCode()
248
+ }
249
+ },
250
+ immediate: true
251
+ },
244
252
  theType: {
245
253
  handler() {
246
254
  this.getImgCode()
@@ -57,13 +57,13 @@
57
57
  </el-checkbox-group>
58
58
  </div>
59
59
  </div>
60
- <div class="right-c flex-column p-t-m" v-if="!hasPX">
60
+ <div v-if="!hasPX" class="right-c flex-column p-t-m">
61
61
  <div class="m-b">
62
62
  {{ '当前选定项' | $lc }}
63
63
  <el-link type="primary" style="visibility: hidden">{{ '当前选定项' | $lc }}</el-link>
64
64
  </div>
65
65
  <div class="flex-1 overflow-y">
66
- <drag-list :list="dragList" :label-key="labelKey" :in-show-column="true" @click="clickItem" />
66
+ <drag-list :list="dragList" :label-key="labelKey" :in-show-column="true" />
67
67
  </div>
68
68
  </div>
69
69
  <div v-else class="right-tree flex-column p-t-m">
@@ -99,8 +99,8 @@
99
99
  <el-link
100
100
  class="n20-icon-shanchu"
101
101
  :underline="false"
102
- @click.stop="() => removeMenu(node, data)"
103
102
  :disabled="data.checked"
103
+ @click.stop="() => removeMenu(node, data)"
104
104
  />
105
105
  </span>
106
106
  </el-tree>