Skip to content

Commit

Permalink
bump
Browse files Browse the repository at this point in the history
  • Loading branch information
eiriksgata committed Jan 30, 2024
1 parent 2016f39 commit 9de5774
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
7 changes: 0 additions & 7 deletions components/navigation/NavigationTool.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
</v-app-bar>

<v-main>
<v-carousel>
<v-carousel-item src="https://cdn.vuetifyjs.com/images/cards/docks.jpg" cover></v-carousel-item>

<v-carousel-item src="https://cdn.vuetifyjs.com/images/cards/hotel.jpg" cover></v-carousel-item>

<v-carousel-item src="https://cdn.vuetifyjs.com/images/cards/sunshine.jpg" cover></v-carousel-item>
</v-carousel>

<v-row dense>
<v-col cols="12" md="4" sm="4" xl="3">
Expand Down
4 changes: 3 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ export default defineNuxtConfig({
},
},
},

app: {
baseURL: "/control-platform/",
},
typescript: {
shim: false,
},
Expand Down
3 changes: 3 additions & 0 deletions pages/login/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ import CryptoJS from 'crypto-js';
import { genSaltSync, hashSync } from 'bcrypt-ts'
import { toast } from 'vue3-toastify';
import type { UseFetchOptions } from 'nuxt/app';
import httpRequest from "~/service";
type AccessTokenVo = {
loginAccount: string,
Expand Down Expand Up @@ -140,6 +142,7 @@ const validate = () => {
}
valid.value = false;
useFetch('/server/api/v1/authentication/captcha/slider', option).then(({ data: response }) => {
switch (response.value?.code) {
case 0:
Expand Down
2 changes: 1 addition & 1 deletion service/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { UseFetchOptions } from "nuxt/app";

type Methods = "GET" | "POST" | "DELETE" | "PUT";

const BASE_URL = "/server";
const BASE_URL = "/control-platform/server";
class HttpRequest {
request<T = any>(
url: string,
Expand Down

0 comments on commit 9de5774

Please sign in to comment.