vue2-client 1.17.8 → 1.17.9

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.17.8",
3
+ "version": "1.17.9",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -1336,9 +1336,11 @@ export default {
1336
1336
  }
1337
1337
  } else if (this.attr.keyName.indexOf('config@') !== -1) {
1338
1338
  const configName = this.attr.keyName.substring(7)
1339
- getConfigByName(configName, this.serviceName, res => {
1340
- this.getDataCallback(res.value)
1341
- }, this.env === 'dev')
1339
+ if (configName) {
1340
+ getConfigByName(configName, this.serviceName, res => {
1341
+ this.getDataCallback(res.value)
1342
+ }, this.env === 'dev')
1343
+ }
1342
1344
  } else if (this.attr.keyName.indexOf('async ') !== -1 || this.attr.keyName.indexOf('function ') !== -1) {
1343
1345
  this.updateOptions()
1344
1346
  }