feat: 同步管理端、用户端与后端业务,并接通线上 Web 接口
补齐平台订阅、外部登录、CRM 同步与用户端页面;Nginx 转发用户端接口,登录页使用 Google 与 Apple 标志。 Co-authored-by: Cursor <cursoragent@cursor.com>
这个提交包含在:
@@ -262,6 +262,7 @@ import {
|
||||
createExchangeState,
|
||||
applyExchangeOptions,
|
||||
submitExchange,
|
||||
isExchangeSubmitSuccess,
|
||||
resolveExchangeText,
|
||||
ExchangePageOptions,
|
||||
} from './useExchange.uts';
|
||||
@@ -396,7 +397,8 @@ async function handleSubmit(): Promise<void> {
|
||||
const nameCache = state.form.name;
|
||||
const contactCache = state.form.phone !== '' ? state.form.phone : state.form.email;
|
||||
const lead = await submitExchange(state);
|
||||
if (lead != null) {
|
||||
// 仅接口明确成功(含 persisted===true 或有效落库 id)才展示完成态
|
||||
if (isExchangeSubmitSuccess(lead)) {
|
||||
submittedName.value = nameCache;
|
||||
submittedContact.value = contactCache;
|
||||
submitSuccess.value = true;
|
||||
|
||||
在新工单中引用
屏蔽一个用户