fix: fortune type
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
zzc
2026-01-24 19:26:30 +08:00
parent f6ae86557e
commit db2dcaf64e
7 changed files with 36 additions and 5 deletions

View File

@@ -9,6 +9,9 @@
@upload-success="handleUploadSuccess"
/>
</el-form-item>
<el-form-item label="类型" prop="type">
<el-input v-model.trim="form.type" placeholder="请输入类型" />
</el-form-item>
<el-form-item label="是否启用" prop="isEnabled">
<el-switch v-model="form.isEnabled" active-text="启用" :active-value="true" inactive-text="禁用" :inactive-value="false" />
</el-form-item>
@@ -33,6 +36,7 @@
id: '',
form: {
imageUrl: '',
type: '',
isEnabled: true,
},
rules: {
@@ -60,6 +64,7 @@
this.title = '编辑'
this.form = {
imageUrl: row.imageUrl,
type: row.type,
isEnabled: row.isEnabled,
}
this.id = row.id