|
@@ -120,7 +120,7 @@ const props = defineProps({
|
|
|
watch(() => props.screenshotWebsiteData,
|
|
|
(newVal) => {
|
|
|
let { appId } = props.previewData;
|
|
|
- if (loadingHide && !appId && (newVal.url || newVal.status)) {
|
|
|
+ if (loadingHide && (!appId || appId && !props.previewData.linkImagePath ) && (newVal.url || newVal.status)) {
|
|
|
loadingHide();
|
|
|
loadingHide = null;
|
|
|
submitPublish();
|
|
@@ -198,7 +198,7 @@ const publishHandler = () => {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if (!appId && !props.screenshotWebsiteData.url) {
|
|
|
+ if ((!appId || appId && !props.previewData.linkImagePath) && !props.screenshotWebsiteData.url) {
|
|
|
loadingHide = message.loading('loading...', 0);
|
|
|
return;
|
|
|
}
|
|
@@ -408,7 +408,7 @@ onUnmounted(() => {
|
|
|
.cover {
|
|
|
height: calc(100% - 73px);
|
|
|
width: 100%;
|
|
|
- object-fit: contain;
|
|
|
+ object-fit: cover;
|
|
|
}
|
|
|
|
|
|
.bottom-bar {
|