Commit c60243e8 authored by 邓超's avatar 邓超

fix: 修改web配置样式

parent 0bd08529
Pipeline #41972 passed with stages
in 7 minutes 17 seconds
...@@ -34,7 +34,7 @@ const EditForm = props => { ...@@ -34,7 +34,7 @@ const EditForm = props => {
const [showParmarModal, setShowParmarModal] = useState(false); const [showParmarModal, setShowParmarModal] = useState(false);
const layout = { const layout = {
layout: 'horizontal', layout: 'horizontal',
labelCol: { span: 3 }, labelCol: { span: 2 },
wrapperCol: { span: 21 }, wrapperCol: { span: 21 },
}; };
// 回显表单 // 回显表单
......
...@@ -37,8 +37,8 @@ export const menuStyle = { ...@@ -37,8 +37,8 @@ export const menuStyle = {
}; };
// 消息标记 // 消息标记
export const markingLabel = { export const markingLabel = {
One: '单人',
All: '多人', All: '多人',
One: '单人',
}; };
// 语音播报 // 语音播报
export const voiceLabel = { export const voiceLabel = {
...@@ -81,7 +81,7 @@ export const defaultWebConfigObj = { ...@@ -81,7 +81,7 @@ export const defaultWebConfigObj = {
loginTemplate: 'Default.html', loginTemplate: 'Default.html',
productType: '', productType: '',
alarmWays: notificationTypes.MQTT, alarmWays: notificationTypes.MQTT,
messageMarking: 'One', messageMarking: 'All',
messageVoice: true, messageVoice: true,
}; };
...@@ -182,8 +182,6 @@ export const getDefaultGetWebconfig = ({ ...@@ -182,8 +182,6 @@ export const getDefaultGetWebconfig = ({
options: products.map(t => ({ options: products.map(t => ({
value: t.PackageName, value: t.PackageName,
key: t.PackageName, key: t.PackageName,
title: t.ProductName,
label: t.ProductName,
children: t.ProductName, children: t.ProductName,
})), })),
onDropdownVisibleChange: onGetProduct, onDropdownVisibleChange: onGetProduct,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment