vue2-client 1.12.67 → 1.12.69

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": "vue2-client",
3
- "version": "1.12.67",
3
+ "version": "1.12.69",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -79,7 +79,7 @@ export default {
79
79
  components: {
80
80
  XReport
81
81
  },
82
- inject: ['getConfigByName'],
82
+ inject: ['getConfigByName', 'getComponentByName'],
83
83
  data () {
84
84
  return {
85
85
  activeKey: [],
@@ -114,6 +114,11 @@ export default {
114
114
  beforeDestroy () {
115
115
  window.removeEventListener('setItem', this.handleStorageChange)
116
116
  },
117
+ provide () {
118
+ return {
119
+ getComponentByName: this.getComponentByName
120
+ }
121
+ },
117
122
  methods: {
118
123
  handleStorageChange (e) {
119
124
  console.log('监听到sessionStorage的变化:', e)