mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 13:22:49 +00:00
no message
This commit is contained in:
parent
8c9e928ddc
commit
da7c1e40e3
@ -60,7 +60,7 @@
|
|||||||
"stylus-loader": "^7.1.0",
|
"stylus-loader": "^7.1.0",
|
||||||
"tinymce": "^5.10.3",
|
"tinymce": "^5.10.3",
|
||||||
"tui-calendar-hi": "^1.15.1-5",
|
"tui-calendar-hi": "^1.15.1-5",
|
||||||
"view-design-hi": "^4.7.0-69",
|
"view-design-hi": "^4.7.0-70",
|
||||||
"vite": "^2.9.15",
|
"vite": "^2.9.15",
|
||||||
"vite-plugin-file-copy": "^1.0.0",
|
"vite-plugin-file-copy": "^1.0.0",
|
||||||
"vite-plugin-require": "^1.1.10",
|
"vite-plugin-require": "^1.1.10",
|
||||||
|
|||||||
@ -457,7 +457,7 @@
|
|||||||
:autosize="{minRows:3,maxRows:5}"
|
:autosize="{minRows:3,maxRows:5}"
|
||||||
v-model="modifyData.value"
|
v-model="modifyData.value"
|
||||||
:placeholder="$L('例如:你是一个人开发的AI助手')"
|
:placeholder="$L('例如:你是一个人开发的AI助手')"
|
||||||
show-word-limit/>
|
:show-word-limit="0.9"/>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</Form>
|
</Form>
|
||||||
<div slot="footer" class="adaption">
|
<div slot="footer" class="adaption">
|
||||||
|
|||||||
@ -10,10 +10,11 @@
|
|||||||
<FormItem :label="$L(field.label)" :prop="field.prop">
|
<FormItem :label="$L(field.label)" :prop="field.prop">
|
||||||
<template v-if="field.type === 'password'">
|
<template v-if="field.type === 'password'">
|
||||||
<Input
|
<Input
|
||||||
:maxlength="255"
|
:maxlength="field.maxlength || 255"
|
||||||
v-model="formData[field.prop]"
|
v-model="formData[field.prop]"
|
||||||
type="password"
|
type="password"
|
||||||
:placeholder="$L(field.placeholder)"/>
|
:placeholder="$L(field.placeholder)"
|
||||||
|
:show-word-limit="typeof field.showWordLimit === 'undefined' ? 0.9 : field.showWordLimit"/>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="field.type === 'model'">
|
<template v-else-if="field.type === 'model'">
|
||||||
<Select v-model="formData[field.prop]" transfer>
|
<Select v-model="formData[field.prop]" transfer>
|
||||||
@ -27,13 +28,14 @@
|
|||||||
:autosize="{minRows:2,maxRows:6}"
|
:autosize="{minRows:2,maxRows:6}"
|
||||||
v-model="formData[field.prop]"
|
v-model="formData[field.prop]"
|
||||||
:placeholder="$L(field.placeholder)"
|
:placeholder="$L(field.placeholder)"
|
||||||
:show-word-limit="!!field.showWordLimit"/>
|
:show-word-limit="typeof field.showWordLimit === 'undefined' ? 0.9 : field.showWordLimit"/>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<Input
|
<Input
|
||||||
:maxlength="500"
|
:maxlength="field.maxlength || 255"
|
||||||
v-model="formData[field.prop]"
|
v-model="formData[field.prop]"
|
||||||
:placeholder="$L(field.placeholder)"/>
|
:placeholder="$L(field.placeholder)"
|
||||||
|
:show-word-limit="typeof field.showWordLimit === 'undefined' ? 0.9 : field.showWordLimit"/>
|
||||||
</template>
|
</template>
|
||||||
<div v-if="field.link || field.tip" class="form-tip">
|
<div v-if="field.link || field.tip" class="form-tip">
|
||||||
<template v-if="field.link">
|
<template v-if="field.link">
|
||||||
|
|||||||
3
resources/assets/js/store/ai.js
vendored
3
resources/assets/js/store/ai.js
vendored
@ -89,6 +89,7 @@ const AISystemConfig = {
|
|||||||
prop: "models",
|
prop: "models",
|
||||||
type: "textarea",
|
type: "textarea",
|
||||||
maxlength: 1000,
|
maxlength: 1000,
|
||||||
|
showWordLimit: 0.9,
|
||||||
placeholder: "一行一个模型名称",
|
placeholder: "一行一个模型名称",
|
||||||
functions: "使用默认模型列表"
|
functions: "使用默认模型列表"
|
||||||
},
|
},
|
||||||
@ -122,7 +123,7 @@ const AISystemConfig = {
|
|||||||
prop: "system",
|
prop: "system",
|
||||||
type: "textarea",
|
type: "textarea",
|
||||||
maxlength: 20000,
|
maxlength: 20000,
|
||||||
showWordLimit: true,
|
showWordLimit: 0.9,
|
||||||
placeholder: "请输入默认提示词",
|
placeholder: "请输入默认提示词",
|
||||||
tip: "例如:你是一个人开发的AI助手"
|
tip: "例如:你是一个人开发的AI助手"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user