fix: build app docker image

This commit is contained in:
wancat committed 2024-04-05 23:59:26 +08:00
1 parent e2b5bb3b70
commit 1f55ae09d6
11 files changed
+77 -53

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
<script setup>
<script setup lang="ts">
defineProps({
url: {
type: String,
+2 -1
View File
@@ -29,7 +29,7 @@ const handleLogout = async () => {
defineProps({
title: {
type: String,
required: true,
required: false,
},
})
@@ -37,6 +37,7 @@ onMounted(async () => {
try {
await loadUserProfile()
} catch (err) {
console.error(err)
toast.error('無法讀取使用者資料')
}
})
File renamed without changes.
+1 -2
View File
@@ -1,8 +1,7 @@
import { reactive } from 'vue'
import { useToast } from 'vue-toastification'
import { FileGraph, FileObject } from '@linux-odyssey/file-graph'
// eslint-disable-next-line import/no-relative-packages
import { IQuest } from '../../../packages/models/src/quest'
import { IQuest } from '@linux-odyssey/models'
import api from '../utils/api'
import Socket from '../utils/socket'
import SocketTerminal from '../utils/terminal'
+1 -1
View File
@@ -1,6 +1,6 @@
import { FileGraph } from '@linux-odyssey/file-graph'
// eslint-disable-next-line import/no-relative-packages
import { IResponse } from '../../packages/models/src/response'
import { IResponse } from '@linux-odyssey/models'
export interface Task {
id: number
+3 -3
View File
@@ -1,15 +1,15 @@
<script setup>
<script setup lang="ts">
import ContactButton from '../components/ContactButton.vue'
import DynamicBackground from '../components/DynamicBackground.vue'
import { bugReportUrl, facebookUrl, githubUrl } from '../config'
const scrollToSection = (sectionId) => {
const scrollToSection = (sectionId: string) => {
const section = document.getElementById(sectionId)
if (section) {
const container = document.querySelector('.overflow-y-auto') // Replace '.overflow-y-auto' with the appropriate class or selector for your container
if (container) {
container.scrollTo({
top: section.offsetTop - container.offsetTop,
top: section.offsetTop,
behavior: 'smooth', // Add smooth scrolling behavior if desired
})
}