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