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
|
@@ -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
|
-
|
|
1340
|
-
this.
|
|
1341
|
-
|
|
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
|
}
|