|
|
@ -29,7 +29,7 @@ function handleReset() {
|
|
|
|
<div class="flex items-center space-x-4">
|
|
|
|
<div class="flex items-center space-x-4">
|
|
|
|
<span class="flex-shrink-0 w-[100px]">{{ $t('setting.role') }}</span>
|
|
|
|
<span class="flex-shrink-0 w-[100px]">{{ $t('setting.role') }}</span>
|
|
|
|
<div class="flex-1">
|
|
|
|
<div class="flex-1">
|
|
|
|
<NInput v-model:value="systemMessage" placeholder="" />
|
|
|
|
<NInput v-model:value="systemMessage" type="textarea" :autosize="{ minRows: 1, maxRows: 4 }" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<NButton size="tiny" text type="primary" @click="updateSettings({ systemMessage })">
|
|
|
|
<NButton size="tiny" text type="primary" @click="updateSettings({ systemMessage })">
|
|
|
|
{{ $t('common.save') }}
|
|
|
|
{{ $t('common.save') }}
|
|
|
|