(), {
- imgWidth: '100',
- height: '200',
+ imgWidth: '100px',
+ height: '200px',
+ size: '14px',
+ text: '暂无数据',
});
const noData_image = ref(new URL(`../../../assets/images/noData.png`, import.meta.url).href);
const style = computed(() => {
return {
- width: props.imgWidth.search('px') > -1 ? props.imgWidth : props.imgWidth + 'px',
+ width: props.imgWidth,
};
});
const container_style = computed(() => {
return {
- height: props.height.search('px') > -1 ? props.height : props.height + 'px',
+ height: props.height,
+ };
+});
+const text_style = computed(() => {
+ return {
+ fontSize: props.size,
};
});
diff --git a/src/components/common/upload/index.vue b/src/components/common/upload/index.vue
index 65048d1e..821bd7c0 100644
--- a/src/components/common/upload/index.vue
+++ b/src/components/common/upload/index.vue
@@ -121,7 +121,7 @@
-
+
diff --git a/src/components/common/upload/upload-model.vue b/src/components/common/upload/upload-model.vue
index 4d720356..5c30aeda 100644
--- a/src/components/common/upload/upload-model.vue
+++ b/src/components/common/upload/upload-model.vue
@@ -136,7 +136,7 @@
-
+
diff --git a/src/components/common/url-value/link-articles.vue b/src/components/common/url-value/link-articles.vue
index bc96b7a5..32cd0c6b 100644
--- a/src/components/common/url-value/link-articles.vue
+++ b/src/components/common/url-value/link-articles.vue
@@ -40,7 +40,7 @@