Skip to content

Commit 98be8a2

Browse files
Update ModelBasicForm.vue
1 parent 727df32 commit 98be8a2

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packages/plugins/model-manager/src/components/ModelBasicForm.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<template>
22
<div class="section">
3-
<h4 class="section-title">模型基本设置</h4>
43
<tiny-form ref="ruleFormRef" :model="localValue" :rules="rules">
54
<div class="form-item">
65
<tiny-form-item label="中文名称" prop="nameCn">
@@ -43,6 +42,7 @@ const props = defineProps({
4342
const localValue = ref(props.model)
4443
4544
const ruleFormRef = ref()
45+
4646
const rules = ref({
4747
nameCn: [{ required: true, message: '必填', trigger: 'blur' }],
4848
nameEn: [{ required: true, message: '必填', trigger: 'blur' }],
@@ -71,10 +71,8 @@ defineExpose({
7171
<style scoped>
7272
.section {
7373
margin-bottom: 16px;
74-
background: #fff;
7574
border-radius: 6px;
7675
padding: 12px;
77-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
7876
}
7977
.section-title {
8078
font-size: 16px;

0 commit comments

Comments
 (0)