字段错误
parent
0046b4385d
commit
0596c8a0bb
|
@ -13,7 +13,7 @@
|
|||
</template>
|
||||
|
||||
</el-table-column>
|
||||
<el-table-column prop="intro" label="开场白" />
|
||||
<el-table-column prop="prologue" label="开场白" />
|
||||
<el-table-column>
|
||||
<template #default="{ row }">
|
||||
<ElButton @click="handleEdit(row)" type="warning">编辑</ElButton>
|
||||
|
@ -47,12 +47,12 @@
|
|||
<el-form-item label="角色描述" prop="roleSetting">
|
||||
<el-input v-model="submitForm.roleSetting" type="textarea" />
|
||||
</el-form-item>
|
||||
<el-form-item label="角色简介" prop="prologue">
|
||||
<el-input v-model="submitForm.prologue" type="textarea" />
|
||||
</el-form-item>
|
||||
<el-form-item label="角色开场白" prop="intro">
|
||||
<el-form-item label="角色简介" prop="intro">
|
||||
<el-input v-model="submitForm.intro" type="textarea" />
|
||||
</el-form-item>
|
||||
<el-form-item label="角色开场白" prop="prologue">
|
||||
<el-input v-model="submitForm.prologue" type="textarea" />
|
||||
</el-form-item>
|
||||
<el-form-item label="对话示例">
|
||||
<ElButton @click="addChartLines()" type="primary">添加对话</ElButton>
|
||||
<el-row :gutter="20" v-for="(item, index) in submitForm.roleLines" :key="index"
|
||||
|
@ -108,8 +108,8 @@ const submitForm = ref();
|
|||
const rules = ref({
|
||||
roleName: [{ required: true, message: "请输入角色名称", trigger: "blur" }],
|
||||
roleSetting: [{ required: true, message: "请输入角色描述", trigger: "blur" }],
|
||||
// prologue: [{ required: true, message: "请输入角色简介", trigger: "blur" }],
|
||||
intro: [{ required: true, message: "请输入角色开场白", trigger: "blur" }],
|
||||
prologue: [{ required: true, message: "请输入角色开场白", trigger: "blur" }],
|
||||
// intro: [{ required: true, message: "请输入角色简介", trigger: "blur" }],
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
|
|
Loading…
Reference in New Issue