diff --git a/src/apis/self.ts b/src/apis/self.ts index 0d44836..d090ef9 100644 --- a/src/apis/self.ts +++ b/src/apis/self.ts @@ -1,4 +1,4 @@ import http from 'libs/http' export const getSelfStatus = (): Promise> => http.get('/self-test/status') -export const getSelfFinish = (): Promise> => http.post('/self-test/finish') +export const getSelfFinish = (params: boolean): Promise> => http.post('/self-test/finish', { params: { mode: params } }) diff --git a/src/components/check/index.vue b/src/components/check/index.vue index f8dcaf0..b58941f 100644 --- a/src/components/check/index.vue +++ b/src/components/check/index.vue @@ -101,7 +101,7 @@ const alginHandle = async () => { } const onConfirm = async () => { - await getSelfFinish() + await getSelfFinish(true) emits('close') } diff --git a/src/components/container/Item/index.vue b/src/components/container/Item/index.vue index 55ae8b4..effc3e0 100644 --- a/src/components/container/Item/index.vue +++ b/src/components/container/Item/index.vue @@ -1,194 +1,232 @@ - - diff --git a/src/components/home/Liquid/index.vue b/src/components/home/Liquid/index.vue new file mode 100644 index 0000000..7b389b4 --- /dev/null +++ b/src/components/home/Liquid/index.vue @@ -0,0 +1,62 @@ + + + + + diff --git a/src/layouts/default.vue b/src/layouts/default.vue index 0d1f8a2..c785f62 100644 --- a/src/layouts/default.vue +++ b/src/layouts/default.vue @@ -1,6 +1,8 @@ + + + + + + + + + + 前进