upper Article type to timi-web
This commit is contained in:
@ -58,8 +58,19 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { ArticleAttachType, ArticleSoftwareExtendData, ArticleView } from "@/types/Article.ts";
|
||||
import { CommentBizType, CommonAPI, IOSize, MarkdownView, SettingKey, SettingMapper, Time, Toolkit } from "timi-web";
|
||||
import {
|
||||
ArticleAttachType,
|
||||
ArticleSoftwareExtendData,
|
||||
ArticleView,
|
||||
CommentBizType,
|
||||
CommonAPI,
|
||||
IOSize,
|
||||
MarkdownView,
|
||||
SettingKey,
|
||||
SettingMapper,
|
||||
Time,
|
||||
Toolkit
|
||||
} from "timi-web";
|
||||
import { Comment } from "timi-tdesign-pc";
|
||||
|
||||
const props = defineProps<{
|
||||
@ -76,6 +87,7 @@ const articleTime = computed(() => {
|
||||
return "编辑于 " + Time.toPassedDateTime(article.value.updatedAt);
|
||||
}
|
||||
}
|
||||
return "";
|
||||
});
|
||||
|
||||
const coverUrl = computed(() => {
|
||||
@ -89,7 +101,7 @@ const coverUrl = computed(() => {
|
||||
}
|
||||
}
|
||||
return undefined;
|
||||
})
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
||||
Reference in New Issue
Block a user