Showing
1 changed file
with
1 additions
and
4 deletions
@@ -144,10 +144,7 @@ | @@ -144,10 +144,7 @@ | ||
144 | const values = | 144 | const values = |
145 | Math.trunc(oldValue) * unref(zoomFactorValue) + | 145 | Math.trunc(oldValue) * unref(zoomFactorValue) + |
146 | getFloatPart(oldValue) * unref(zoomFactorValue); | 146 | getFloatPart(oldValue) * unref(zoomFactorValue); |
147 | - console.log({ | ||
148 | - int: Math.trunc(oldValue) * unref(zoomFactorValue), | ||
149 | - float: getFloatPart(oldValue) * unref(zoomFactorValue), | ||
150 | - }); | 147 | + |
151 | if (!regex.test(values as any)) { | 148 | if (!regex.test(values as any)) { |
152 | createMessage.warning(`属性下发值精确到两位小数,缩放因子是${unref(zoomFactorValue)}`); | 149 | createMessage.warning(`属性下发值精确到两位小数,缩放因子是${unref(zoomFactorValue)}`); |
153 | return; | 150 | return; |