diff --git a/frontend/.env.development b/frontend/.env.development index 0449e433..b1f1b6a1 100644 --- a/frontend/.env.development +++ b/frontend/.env.development @@ -1,2 +1 @@ VITE_API_ROOT = /api -VITE_API_WSS_ROOT = wss://nginx.jackyu.cn/api diff --git a/frontend/.env.production b/frontend/.env.production index cdf5288c..b1f1b6a1 100644 --- a/frontend/.env.production +++ b/frontend/.env.production @@ -1,2 +1 @@ -VUE_APP_API_ROOT = /api -VUE_APP_API_WSS_ROOT = /api +VITE_API_ROOT = /api diff --git a/frontend/frontend.go b/frontend/frontend.go index 2f57f4ea..ed676b14 100644 --- a/frontend/frontend.go +++ b/frontend/frontend.go @@ -4,5 +4,5 @@ import ( "embed" ) -//go:embed dist +//go:embed dist/* dist/*/* var DistFS embed.FS diff --git a/frontend/public/vite.svg b/frontend/public/vite.svg deleted file mode 100644 index 7860dd3e..00000000 --- a/frontend/public/vite.svg +++ /dev/null @@ -1,18 +0,0 @@ - diff --git a/frontend/src/components/StdDataDisplay/StdPagination.vue b/frontend/src/components/StdDataDisplay/StdPagination.vue index 565e04c5..1b5c124a 100644 --- a/frontend/src/components/StdDataDisplay/StdPagination.vue +++ b/frontend/src/components/StdDataDisplay/StdPagination.vue @@ -1,8 +1,19 @@ + + - - diff --git a/frontend/src/views/domain/cert/CertInfo.vue b/frontend/src/views/domain/cert/CertInfo.vue index bdbe52a7..8019598f 100644 --- a/frontend/src/views/domain/cert/CertInfo.vue +++ b/frontend/src/views/domain/cert/CertInfo.vue @@ -19,6 +19,10 @@ function get() { ok.value = false }) } + +defineExpose({ + get +}) diff --git a/frontend/src/views/user/User.vue b/frontend/src/views/user/User.vue index 91efb5c8..f588527c 100644 --- a/frontend/src/views/user/User.vue +++ b/frontend/src/views/user/User.vue @@ -45,7 +45,7 @@ const columns = [{