1.静态地址优化
parent
666f91660d
commit
ee246d9645
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="flex-col align-c jc-c w h bg-f" :style="container_style">
|
<div class="flex-col align-c jc-c w h bg-f" :style="container_style">
|
||||||
<img :style="style" :src="noData_image" />
|
<img :style="style" :src="no_data_image" />
|
||||||
<p class="cr-c mt-12" :style="text_style">{{ text }}</p>
|
<p class="cr-c mt-12" :style="text_style">{{ text }}</p>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -20,7 +20,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||||
size: '14px',
|
size: '14px',
|
||||||
text: '暂无数据',
|
text: '暂无数据',
|
||||||
});
|
});
|
||||||
const noData_image = ref(common_store.common.config.attachment_host + `/static/diy/images/noData.png`);
|
const no_data_image = ref(common_store.common.config.attachment_host + `/static/diy/images/no-data.png`);
|
||||||
const style = computed(() => {
|
const style = computed(() => {
|
||||||
return {
|
return {
|
||||||
width: props.imgWidth,
|
width: props.imgWidth,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue