diff --git a/Dockerfile b/Dockerfile index e8fd8380..2cab9fe1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN yarn config set registry 'https://registry.npmmirror.com' && \ yarn build # 构建后端资源 -FROM golang:1.22 as be-builder +FROM golang:1.23 as be-builder ENV GOPROXY https://goproxy.cn WORKDIR /mayfly diff --git a/mayfly_go_web/package.json b/mayfly_go_web/package.json index 64dfe508..b44e3461 100644 --- a/mayfly_go_web/package.json +++ b/mayfly_go_web/package.json @@ -1,6 +1,7 @@ { "name": "mayfly", "version": "1.0.0", + "type": "module", "scripts": { "dev": "vite", "build": "vite build", @@ -32,7 +33,7 @@ "screenfull": "^6.0.2", "sortablejs": "^1.15.3", "splitpanes": "^3.1.5", - "sql-formatter": "^15.4.2", + "sql-formatter": "^15.4.5", "trzsz": "^1.1.5", "uuid": "^9.0.1", "vue": "^3.5.12", @@ -59,7 +60,7 @@ "prettier": "^3.2.5", "sass": "^1.80.3", "typescript": "^5.6.3", - "vite": "^5.4.9", + "vite": "^5.4.10", "vue-eslint-parser": "^9.4.3" }, "browserslist": [ diff --git a/mayfly_go_web/src/components/file/FileInfo.vue b/mayfly_go_web/src/components/file/FileInfo.vue index 71cb48d4..087f7c51 100644 --- a/mayfly_go_web/src/components/file/FileInfo.vue +++ b/mayfly_go_web/src/components/file/FileInfo.vue @@ -1,9 +1,9 @@