fix: 拓扑编辑框透明度1
This commit is contained in:
@@ -238,7 +238,7 @@ function fnModalCancel() {
|
||||
</a-form-item>
|
||||
|
||||
<!-- 圆形尺寸 -->
|
||||
<a-row :gutter="16" v-if="comboState.form.type.startsWith('circle') ">
|
||||
<a-row :gutter="16" v-if="comboState.form.type.startsWith('circle')">
|
||||
<a-col :lg="12" :md="12" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.monitor.topologyBuild.comboFormSize')"
|
||||
@@ -267,7 +267,7 @@ function fnModalCancel() {
|
||||
</a-row>
|
||||
|
||||
<!-- 矩形尺寸 -->
|
||||
<a-row :gutter="16" v-if="comboState.form.type.startsWith('rect') ">
|
||||
<a-row :gutter="16" v-if="comboState.form.type.startsWith('rect')">
|
||||
<a-col :lg="12" :md="12" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.monitor.topologyBuild.comboFormSize')"
|
||||
@@ -326,10 +326,10 @@ function fnModalCancel() {
|
||||
<a-input-number
|
||||
v-model:value="comboState.form.style.fillOpacity"
|
||||
style="width: 100%"
|
||||
:min="0.1"
|
||||
:min="0"
|
||||
:max="1"
|
||||
:step="0.1"
|
||||
placeholder="<=100"
|
||||
placeholder="<=1"
|
||||
></a-input-number>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
@@ -849,7 +849,10 @@ function fnModalCancel() {
|
||||
</a-row>
|
||||
|
||||
<!-- 剪裁圆形 -->
|
||||
<a-row :gutter="16" v-if="nodeState.form.clipCfg.type.startsWith('circle') ">
|
||||
<a-row
|
||||
:gutter="16"
|
||||
v-if="nodeState.form.clipCfg.type.startsWith('circle')"
|
||||
>
|
||||
<a-col :lg="12" :md="12" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.monitor.topologyBuild.nodeFormClipTypeCircle')"
|
||||
@@ -867,7 +870,10 @@ function fnModalCancel() {
|
||||
</a-row>
|
||||
|
||||
<!-- 剪裁矩形 -->
|
||||
<a-row :gutter="16" v-if="nodeState.form.clipCfg.type.startsWith('rect')">
|
||||
<a-row
|
||||
:gutter="16"
|
||||
v-if="nodeState.form.clipCfg.type.startsWith('rect')"
|
||||
>
|
||||
<a-col :lg="12" :md="12" :xs="24">
|
||||
<a-form-item
|
||||
:label="
|
||||
@@ -976,7 +982,7 @@ function fnModalCancel() {
|
||||
<template
|
||||
v-if="
|
||||
nodeState.form.icon &&
|
||||
!nodeState.form.type.startsWith('rect') &&
|
||||
!nodeState.form.type.startsWith('rect') &&
|
||||
!nodeState.form.type.startsWith('image')
|
||||
"
|
||||
>
|
||||
|
||||
@@ -182,7 +182,6 @@ export function nodeRectAnimateState() {
|
||||
|
||||
if (value) {
|
||||
if (Array.isArray(backArr) && backArr.length === 3) return;
|
||||
console.log(value, '==', keyShape.cfg.animating);
|
||||
const size = Array.isArray(model?.size) ? model?.size : [40, 40];
|
||||
const { fill, lineWidth, stroke, radius } = model.style;
|
||||
const fillColor = fill || stroke;
|
||||
|
||||
Reference in New Issue
Block a user