@@ -98,7 +98,9 @@ export default defineComponent({
<h3>{props.workInfo.studentName}</h3>
<p>
提交时间:
- {dayjs(props.workInfo.submitTime).format('YYYY-MM-DD HH:mm')}
+ {props.workInfo.submitTime
+ ? dayjs(props.workInfo.submitTime).format('YYYY-MM-DD HH:mm')
+ : '--'}
</p>
</div>
@@ -68,7 +68,8 @@ export default defineConfig(() => {
includeAssets: ['./logo.png'],
workbox: {
skipWaiting: true,
- clientsClaim: true
+ clientsClaim: true,
+ runtimeCaching: []
// runtimeCaching: [
// {
// urlPattern: /(.*?)\.(js|css|ts|tsx|html)/, // js /css /ts静态资源缓存