feat: 更新Dockerfile以移除USE_PROXY条件,简化npm配置流程;调整订单表格字段,移除冗余字段以优化展示

This commit is contained in:
danial
2025-05-15 16:24:31 +08:00
parent 0a319a5a48
commit ca017bc0e9
2 changed files with 10 additions and 15 deletions

View File

@@ -6,10 +6,8 @@ COPY . .
ARG USE_PROXY
# 根据USE_PROXY参数设置环境变量
RUN if [ "$USE_PROXY" = "1" ]; then \
npm config set registry https://mirrors.huaweicloud.com/repository/npm/ && \
RUN npm config set registry https://mirrors.huaweicloud.com/repository/npm/ && \
npm i -g nrm && nrm use taobao; \
fi \
&& npm install -g npm@latest pnpm && pnpm i && pnpm build
FROM nginx:latest

View File

@@ -116,12 +116,9 @@ import { Pagination } from '@/types/global';
import { onMounted, reactive, ref } from 'vue';
import OrderHistory from './components/history.vue';
import { checkTokenFromIframe } from '@/utils/auth';
import { walmartCardOrderParams } from '@/api/card-walmart-order.ts';
import {
ApiCookieInfoJdOrderListGetPageSizeEnum,
KamiApiCardRedeemJdV1OrderListSchema,
KamiInternalModelEntityV1CardRedeemAccountGroup,
KamiInternalModelEntityV1CardRedeemOrderInfo
KamiApiCardRedeemJdV1OrderListSchema
} from '@/api/generated/index.ts';
import { apiCkClient } from '@/api/index.ts';
@@ -165,16 +162,16 @@ const columns: TableColumnData[] = [
title: '支付链接',
dataIndex: 'wxPay'
},
{
title: '提取信息',
dataIndex: 'cardNo',
tooltip: true,
ellipsis: true
},
// {
// title: '订单金额',
// dataIndex: 'orderAmount'
// title: '提取信息',
// dataIndex: 'cardNo',
// tooltip: true,
// ellipsis: true
// },
{
title: '订单金额',
dataIndex: 'orderAmount'
},
{
title: '状态',
dataIndex: 'status',