fix(search): 修复跨租户重复手机号查询报错
This commit is contained in:
@@ -23,8 +23,7 @@ export interface UpdateTenantSMSConfigPayload {
|
||||
}
|
||||
|
||||
export async function fetchTenantSMSConfig() {
|
||||
const { data } =
|
||||
await apiClient.get<ApiResponse<TenantSMSConfig>>('/admin/tenant-sms-config')
|
||||
const { data } = await apiClient.get<ApiResponse<TenantSMSConfig>>('/admin/tenant-sms-config')
|
||||
return data.data
|
||||
}
|
||||
|
||||
|
||||
@@ -128,7 +128,11 @@ async function handleSave() {
|
||||
type="password"
|
||||
autocomplete="new-password"
|
||||
show-password
|
||||
:placeholder="config.has_secret ? `已保存 ${config.masked_secret},留空保持不变` : '请输入 AccessKey Secret'"
|
||||
:placeholder="
|
||||
config.has_secret
|
||||
? `已保存 ${config.masked_secret},留空保持不变`
|
||||
: '请输入 AccessKey Secret'
|
||||
"
|
||||
/>
|
||||
</el-form-item>
|
||||
</div>
|
||||
|
||||
@@ -22,10 +22,7 @@ import {
|
||||
updateSystemConfig,
|
||||
type SystemConfig,
|
||||
} from '@/features/admin/api/systemConfigs'
|
||||
import {
|
||||
fetchTenantSMSConfig,
|
||||
type TenantSMSConfig,
|
||||
} from '@/features/admin/api/tenantSmsConfig'
|
||||
import { fetchTenantSMSConfig, type TenantSMSConfig } from '@/features/admin/api/tenantSmsConfig'
|
||||
import { parseRenterGrowthConfig } from '@/features/admin/api/renterGrowth'
|
||||
import {
|
||||
parseSmsBusinessTemplatesConfig,
|
||||
|
||||
Reference in New Issue
Block a user