diff --git a/.env.development b/.env.development
index 99b24ba..0ef80c4 100644
--- a/.env.development
+++ b/.env.development
@@ -9,4 +9,4 @@ NODE_ENV = 'development'
# 如果没有跨域问题,直接在这里配置即可
# VITE_APP_BASE_API = 'http://192.168.1.116:8080'
# VITE_APP_BASE_API = 'http://121.41.36.72:8080'
-VITE_APP_BASE_API = 'http://www.cvlip.com:8080'
+VITE_APP_BASE_API = 'http://www.cvlip.com:9003'
diff --git a/.env.production b/.env.production
index bd96e6e..d349959 100644
--- a/.env.production
+++ b/.env.production
@@ -2,7 +2,7 @@
NODE_ENV = "production"
# 线上环境接口地址
-VITE_APP_BASE_API = '/api'
+VITE_APP_BASE_API = 'http://www.cvlip.com:8080'
# 是否启用 gzip 或 brotli 压缩打包,如果需要多个压缩规则,可以使用 “,” 分隔
# Optional: gzip | brotli | none
diff --git a/src/views/ApiManage/components/ApiTable.vue b/src/views/ApiManage/components/ApiTable.vue
index 734c602..b0fd8a6 100644
--- a/src/views/ApiManage/components/ApiTable.vue
+++ b/src/views/ApiManage/components/ApiTable.vue
@@ -67,8 +67,9 @@ const onClickChangeApiType = async (item: apiInterface) => {
if (item === currentApiType.value) return;
currentApiType.value = item;
+ loadMoreState.value = 'load';
currentPage.value = 1;
- await getTableDataList();
+ tableData.value = [];
};
// 表格数据
diff --git a/src/views/Boat/components/BoatTable.vue b/src/views/Boat/components/BoatTable.vue
index 478efe6..eb8bb99 100644
--- a/src/views/Boat/components/BoatTable.vue
+++ b/src/views/Boat/components/BoatTable.vue
@@ -8,7 +8,7 @@
-
+
@@ -187,6 +187,7 @@ const onClickCellOpenDetail = (row: BoatInfoType) => {
flex-direction: column;
width: 100%;
.header {
+ position: relative;
box-sizing: border-box;
display: flex;
flex-shrink: 0;
@@ -217,6 +218,8 @@ const onClickCellOpenDetail = (row: BoatInfoType) => {
}
}
.header-title {
+ position: absolute;
+ left: 50%;
display: flex;
justify-content: center;
padding: 0 16px;
@@ -224,6 +227,7 @@ const onClickCellOpenDetail = (row: BoatInfoType) => {
font-style: normal;
font-weight: 700;
color: #fff;
+ transform: translateX(-50%);
}
}
.footer {
@@ -297,25 +301,27 @@ const onClickCellOpenDetail = (row: BoatInfoType) => {
}
.footer-pagination {
box-sizing: border-box;
- display: flex;
- align-items: center;
- justify-content: center;
width: 100%;
- margin-top: 40px;
- .notice {
+ padding: 16px;
+ .notice-wrap {
display: flex;
align-items: center;
justify-content: center;
- width: 700px;
- height: 40px;
- margin-top: 30px;
- overflow: hidden;
- font-size: 16px;
- color: #d7d7d7;
- text-overflow: ellipsis;
- white-space: nowrap;
- background-color: rgb(127 127 127 / 100%);
- border-radius: 20px;
+ .notice {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 700px;
+ height: 40px;
+ margin-top: 30px;
+ overflow: hidden;
+ font-size: 16px;
+ color: #d7d7d7;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ background-color: rgb(127 127 127 / 100%);
+ border-radius: 20px;
+ }
}
}
}
diff --git a/src/views/Boat/components/HistoryTable.vue b/src/views/Boat/components/HistoryTable.vue
index a0cea0e..298fcb7 100644
--- a/src/views/Boat/components/HistoryTable.vue
+++ b/src/views/Boat/components/HistoryTable.vue
@@ -31,14 +31,11 @@