feat: 统一IM后台商户文案和默认选择
This commit is contained in:
@@ -173,7 +173,7 @@
|
||||
}
|
||||
const params = { ...searchFormRef.value?.formModel };
|
||||
if (isPlatformAdmin.value && !params.tenantId) {
|
||||
message.warning('请选择租户');
|
||||
message.warning('请选择商户');
|
||||
return;
|
||||
}
|
||||
api.Export(params);
|
||||
@@ -219,7 +219,7 @@
|
||||
await loadImQueryTenantOptions();
|
||||
if (imQueryTenantOptions.value.length)
|
||||
await setFieldsValue({ tenantId: imQueryTenantOptions.value[0].value });
|
||||
else message.warning('暂无可用租户');
|
||||
else message.warning('暂无可用商户');
|
||||
}
|
||||
if (!props.group) reloadTable();
|
||||
});
|
||||
|
||||
@@ -11,11 +11,11 @@ export function createMessageSchemas(group: boolean) {
|
||||
{
|
||||
field: 'tenantId',
|
||||
component: 'NSelect',
|
||||
label: '租户',
|
||||
label: '商户',
|
||||
componentProps: {
|
||||
clearable: false,
|
||||
options: computed(() => imQueryTenantOptions.value),
|
||||
placeholder: '请选择租户',
|
||||
placeholder: '请选择商户',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user