adata-ui 0.1.20 → 0.1.21

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": "adata-ui",
3
- "version": "0.1.20",
3
+ "version": "0.1.21",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -160,7 +160,10 @@ export default {
160
160
  },
161
161
  computed: {
162
162
  locationUrl() {
163
- return window.location.href;
163
+ if (window)
164
+ return window.location.href;
165
+ else
166
+ return ''
164
167
  }
165
168
  },
166
169
  methods: {