vue2-client 1.17.9 → 1.17.10

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.9",
3
+ "version": "1.17.10",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -1336,7 +1336,8 @@ export default {
1336
1336
  }
1337
1337
  } else if (this.attr.keyName.indexOf('config@') !== -1) {
1338
1338
  const configName = this.attr.keyName.substring(7)
1339
- if (configName) {
1339
+ // 处理得到 “undefined” 字符串的问题
1340
+ if (configName && configName !== "undefined") {
1340
1341
  getConfigByName(configName, this.serviceName, res => {
1341
1342
  this.getDataCallback(res.value)
1342
1343
  }, this.env === 'dev')