@lark-apaas/fullstack-rspack-preset 1.0.8-alpha.log.4 → 1.0.8-alpha.log.6
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.
|
@@ -16,11 +16,11 @@ function ErrorContainer(document, root, errorTitle) {
|
|
|
16
16
|
// 创建图片元素
|
|
17
17
|
const img = document.createElement('img');
|
|
18
18
|
img.src =
|
|
19
|
-
'https://lf3-static.bytednsdoc.com/obj/eden-cn/ylcylz_fsph_ryhs/ljhwZthlaukjlkulzlp/feisuda/template/
|
|
19
|
+
'https://lf3-static.bytednsdoc.com/obj/eden-cn/ylcylz_fsph_ryhs/ljhwZthlaukjlkulzlp/feisuda/template/illustration_empty_negative_error.svg';
|
|
20
20
|
img.alt = 'Error';
|
|
21
21
|
// 图片占位
|
|
22
|
-
img.width =
|
|
23
|
-
img.height =
|
|
22
|
+
img.width = 100;
|
|
23
|
+
img.height = 100;
|
|
24
24
|
img.className = 'overlay-error-image';
|
|
25
25
|
content.appendChild(img);
|
|
26
26
|
// 创建标题元素
|
|
@@ -67,7 +67,7 @@ function RootStyle(document, root) {
|
|
|
67
67
|
|
|
68
68
|
.overlay-error-image {
|
|
69
69
|
margin-bottom: 12px; /* mb-3 */
|
|
70
|
-
width:
|
|
70
|
+
width: 100px; /* w-[100px] */
|
|
71
71
|
height: auto;
|
|
72
72
|
}
|
|
73
73
|
|
package/lib/overlay/index.js
CHANGED