提交 821887a0 作者: ZhangLingKun

功能:加盟入驻编辑修复

上级 7cd00694
......@@ -8,7 +8,7 @@ RUN npm ci
COPY . .
RUN \
if [ "${PROFILES_ACTIVE}" = "development" ]; then echo "env PROFILES_ACTIVE=development. exec npm run buildDev" && npm run buildDev; \
if [ "${PROFILES_ACTIVE}" = "development" ]; then echo "env PROFILES_ACTIVE=development. exec npm run build:dev" && npm run buildDev; \
else echo "env PROFILES_ACTIVE !=development. exec npm run build" && npm run build; \
fi
......@@ -23,4 +23,4 @@ COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
# Containers run nginx with global directives and daemon off
ENTRYPOINT ["nginx", "-g", "daemon off;"]
\ No newline at end of file
ENTRYPOINT ["nginx", "-g", "daemon off;"]
......@@ -82,6 +82,7 @@ const AddEditModal: FC<propType> = (props) => {
const handleSubmit = async (values: ReqType) => {
const res = await CustomManageAPI.editUserApplyTag({
id: Number(data?.id),
...detail,
...values,
...address,
});
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论