n20-common-lib 2.4.65 → 2.4.66

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.4.65",
3
+ "version": "2.4.66",
4
4
  "private": false,
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -21,14 +21,18 @@
21
21
  {{ (data[props.value] ? '(' + data[props.value] + ') ' : '') + data[props.label] }}
22
22
  </span>
23
23
  <el-button
24
- v-if="showCheckbox && node.checked && node.data[nodeKey] === checkFlag?.data?.[nodeKey]"
24
+ v-if="
25
+ showCheckbox && node.checked && node.data[nodeKey] === checkFlag && checkFlag.data && checkFlag.data[nodeKey]
26
+ "
25
27
  type="text"
26
28
  class="m-r-s"
27
29
  @click="handleClose(node, data)"
28
30
  >{{ $lc('取消勾选') }}</el-button
29
31
  >
30
32
  <el-button
31
- v-else-if="showCheckbox && !node.checked && node.data[nodeKey] === checkFlag?.data?.[nodeKey]"
33
+ v-else-if="
34
+ showCheckbox && !node.checked && node.data[nodeKey] === checkFlag && checkFlag.data && checkFlag.data[nodeKey]
35
+ "
32
36
  type="text"
33
37
  class="m-r-s"
34
38
  @click="handleChecked(node, data)"
@@ -58,13 +58,13 @@ export default {
58
58
  }
59
59
  }
60
60
  </script>
61
- <style lang="scss" scoped>
61
+ <style scoped>
62
62
  .loadingCss {
63
63
  width: 120px;
64
64
  height: 120px;
65
65
  animation: rotate 3s linear infinite;
66
66
  }
67
- /deep/.el-loading-mask {
67
+ .el-loading-mask {
68
68
  background-color: #fff;
69
69
  }
70
70
  .el-loading-spinner {