修改bug
This commit is contained in:
parent
d950d6c978
commit
bf4f19122f
|
@ -203,6 +203,7 @@
|
|||
.jeecg-menu-light.jeecg-menu-vertical .jeecg-menu-item-active.jeecg-menu-submenu {
|
||||
color: #606266 !important;
|
||||
background: #f0f0f0;
|
||||
padding-bottom: 10px;;
|
||||
|
||||
}
|
||||
.jeecg-menu-vertical .jeecg-menu-item, .jeecg-menu-vertical .jeecg-menu-submenu-title {
|
||||
|
@ -222,4 +223,17 @@
|
|||
// margin: 10px 20px 0 20px;
|
||||
transform: scale(1.02);
|
||||
}
|
||||
|
||||
.ant-drawer-close {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
left: auto !important;
|
||||
margin-right: 16px;
|
||||
}
|
||||
.jeecg-layout-content{
|
||||
position: relative;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
padding: 3px;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<IotDeviceContentList ref="registerForm" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false"></IotDeviceContentList>
|
||||
<template #footer>
|
||||
<a-button type="primary" style="margin-right: 8px" @click="handleCancel">关闭</a-button>
|
||||
<a-button type="primary" @click="handleOk" v-if="!disableSubmit">确认</a-button>
|
||||
<!-- <a-button type="primary" @click="handleOk" v-if="!disableSubmit">确认</a-button> -->
|
||||
</template>
|
||||
</a-drawer>
|
||||
</template>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
</a-col>
|
||||
<a-col :span="24">
|
||||
<a-form-item label="备注信息" v-bind="validateInfos.content" id="IotDeviceContentForm-content" name="content">
|
||||
<a-textarea v-model:value="formData.content" placeholder="请输入备注信息" maxlength="100" :showCount="true" allow-clear ></a-textarea>
|
||||
<a-textarea v-model:value="formData.content" :rows="4" placeholder="请输入备注信息" maxlength="100" :showCount="true" allow-clear ></a-textarea>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :span="24" hidden>
|
||||
|
@ -60,6 +60,7 @@
|
|||
const confirmLoading = ref<boolean>(false);
|
||||
//表单验证
|
||||
const validatorRules = reactive({
|
||||
content: [{ required: true, message: '请输入内容', trigger: 'blur' }],
|
||||
});
|
||||
const { resetFields, validate, validateInfos } = useForm(formData, validatorRules, { immediate: false });
|
||||
|
||||
|
|
Loading…
Reference in New Issue