vona-module-a-orm 5.0.80 → 5.0.82
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/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -257,8 +257,9 @@ let ServiceDatabase = (_dec$r = Service(), _dec2$r = BeanInfo({
|
|
|
257
257
|
return defaultClient(this.ctx);
|
|
258
258
|
}
|
|
259
259
|
// check instance
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
const instanceName = this.ctx.instanceName;
|
|
261
|
+
if (!isNil(instanceName)) {
|
|
262
|
+
const configInstanceBase = this.$scope.instance.service.instance.getConfigInstanceBase(instanceName);
|
|
262
263
|
if (configInstanceBase?.isolate) {
|
|
263
264
|
return configInstanceBase.isolateClient;
|
|
264
265
|
}
|