fast-element-plus 1.0.14 → 1.0.15
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.full.js +9 -3
- package/dist/index.full.js.map +1 -1
- package/dist/index.full.min.js +1 -1
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +1 -1
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +9 -3
- package/dist/index.full.mjs.map +1 -1
- package/es/components/image/src/image.mjs +1 -1
- package/es/components/image/src/image.mjs.map +1 -1
- package/es/components/table/src/table.mjs +1 -1
- package/es/components/table/src/table.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/image/src/image.js +1 -1
- package/lib/components/image/src/image.js.map +1 -1
- package/lib/components/table/src/table.js +1 -1
- package/lib/components/table/src/table.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
package/dist/index.full.mjs
CHANGED
|
@@ -16675,11 +16675,13 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
|
|
|
16675
16675
|
expose
|
|
16676
16676
|
}) {
|
|
16677
16677
|
const state = vue.reactive({
|
|
16678
|
+
/** 图片加载错误 */
|
|
16679
|
+
loadError: false,
|
|
16678
16680
|
src: vue.computed(() => {
|
|
16679
16681
|
if (!props.src) return void 0;
|
|
16680
16682
|
if (props.base64) {
|
|
16681
16683
|
return `data:image/png;base64,${props.src}`;
|
|
16682
|
-
} else if (props.original) {
|
|
16684
|
+
} else if (props.original || state.loadError) {
|
|
16683
16685
|
return props.src;
|
|
16684
16686
|
} else if (props.normal) {
|
|
16685
16687
|
return `${props.src}@!normal`;
|
|
@@ -16697,7 +16699,10 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
|
|
|
16697
16699
|
utils.useRender(() => vue.createVNode(ElementPlus2.ElImage, vue.mergeProps(bindProps.value, {
|
|
16698
16700
|
"class": "fa-image",
|
|
16699
16701
|
"src": state.src,
|
|
16700
|
-
"previewSrcList": state.previewList
|
|
16702
|
+
"previewSrcList": state.previewList,
|
|
16703
|
+
"onError": () => {
|
|
16704
|
+
if (!state.loadError) state.loadError = true;
|
|
16705
|
+
}
|
|
16701
16706
|
}), {
|
|
16702
16707
|
error: () => slots.error ? slots.error() : vue.createVNode("div", {
|
|
16703
16708
|
"class": "fa-image__error-image"
|
|
@@ -22428,6 +22433,7 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
|
|
|
22428
22433
|
"closeOnPressEscape": true,
|
|
22429
22434
|
"hideOnClickModal": true,
|
|
22430
22435
|
"teleported": true,
|
|
22436
|
+
"showProgress": true,
|
|
22431
22437
|
"onClose": () => state.imagePreview = false,
|
|
22432
22438
|
"urlList": state.previewList
|
|
22433
22439
|
}, null), props.columnSettingBtn && vue.createVNode(TableColumnsSettingDialog, {
|
|
@@ -28492,7 +28498,7 @@ var FastElementPlus = (function(exports, FastElementPlusIconsVue2, utils, vue, E
|
|
|
28492
28498
|
}
|
|
28493
28499
|
app.use(ElementPlus2);
|
|
28494
28500
|
};
|
|
28495
|
-
const version$1 = "1.0.
|
|
28501
|
+
const version$1 = "1.0.15";
|
|
28496
28502
|
const INSTALLED_KEY = /* @__PURE__ */ Symbol("INSTALLED_KEY");
|
|
28497
28503
|
const makeInstaller = () => {
|
|
28498
28504
|
const install2 = (app) => {
|