diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b82a727..c48223d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -13,10 +13,10 @@ jobs: - uses: actions/setup-node@v3 with: - node-version: "20" + node-version: "current" cache: "npm" - run: npm install - - run: npm run build + - run: CI=false npm run build - uses: easingthemes/ssh-deploy@v2.2.11 env: diff --git a/src/oj/problem/components/Form.vue b/src/oj/problem/components/Form.vue index 0975777..f6b366b 100644 --- a/src/oj/problem/components/Form.vue +++ b/src/oj/problem/components/Form.vue @@ -5,7 +5,7 @@ import { problem } from "oj/composables/problem" import { isDesktop, isMobile } from "~/shared/composables/breakpoints" import { useUserStore } from "~/shared/store/user" import Submit from "./Submit.vue" -import TestCat from "./TestCat.vue" +import TestCat from "./TestCat2.vue" import storage from "~/utils/storage" import { STORAGE_KEY } from "utils/constants" import { LANGUAGE } from "~/utils/types" @@ -72,9 +72,6 @@ function changeLanguage(v: LANGUAGE) { :options="options" /> - - 重置 - - + 提交信息 + + 重置 + diff --git a/src/oj/problem/components/TestCat2.vue b/src/oj/problem/components/TestCat2.vue new file mode 100644 index 0000000..9418b25 --- /dev/null +++ b/src/oj/problem/components/TestCat2.vue @@ -0,0 +1,29 @@ + +