fix: 三方绑定样式优化

This commit is contained in:
JiangQiming 2023-01-10 11:22:02 +08:00
parent 0434d12416
commit 80bd48693d
2 changed files with 12 additions and 11 deletions

View File

@ -162,16 +162,16 @@ const handleSubmit = () => {
</script>
<style lang="less" scoped>
.page-container:deep {
.ant-form-item-label
> label.ant-form-item-required:not(
.ant-form-item-required-mark-optional
)::before {
display: none;
}
.ant-form-item-label > label {
font-weight: bold;
}
:deep(
.ant-form-item-label
> label.ant-form-item-required:not(
.ant-form-item-required-mark-optional
)::before
) {
display: none;
}
:deep(.ant-form-item-label > label) {
font-weight: bold;
}
.page-container {
width: 100%;

View File

@ -76,7 +76,8 @@ export default defineConfig(({ mode}) => {
[env.VITE_APP_BASE_API]: {
// target: 'http://192.168.33.22:8800',
// target: 'http://192.168.32.244:8881',
target: 'http://47.112.135.104:5096', // opcua
// target: 'http://47.112.135.104:5096', // opcua
target: 'http://47.108.63.174:8845', // 测试
changeOrigin: true,
rewrite: (path) => path.replace('^'+env.VITE_APP_BASE_API, '')
}