eservices-core 1.0.352 → 1.0.353

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * eservices-core v1.0.352
2
+ * eservices-core v1.0.353
3
3
  * (c) 2022 ESERVICES
4
4
  */
5
5
  'use strict';
@@ -5440,9 +5440,10 @@ var script$a = /*#__PURE__*/ vue.defineComponent({
5440
5440
  const refImage = vue.ref();
5441
5441
  vue.onMounted(() => {
5442
5442
  refImage.value.src = props.src;
5443
- refImage.value.on('error', () => {
5444
- refImage.value.src = props.default;
5445
- });
5443
+ refImage.value.onerror = function () {
5444
+ if (props.default)
5445
+ refImage.value.src = props.default;
5446
+ };
5446
5447
  });
5447
5448
  return (_ctx, _cache) => {
5448
5449
  return (vue.openBlock(), vue.createElementBlock("img", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eservices-core",
3
- "version": "1.0.352",
3
+ "version": "1.0.353",
4
4
  "description": "----",
5
5
  "author": "",
6
6
  "scripts": {