mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-18 03:21:06 +08:00
Mergin better performance branch
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
// @ts-check
|
||||
|
||||
import Utility from "../Utility"
|
||||
import IInputPinTemplate from "./IInputPinTemplate"
|
||||
import Utility from "../Utility"
|
||||
|
||||
/**
|
||||
* @typedef {import("../element/PinElement").default} PinElement
|
||||
@@ -18,7 +16,7 @@ export default class RealPinTemplate extends IInputPinTemplate {
|
||||
let updateDefaultValue = true
|
||||
if (isNaN(num)) {
|
||||
num = parseFloat(pin.entity.DefaultValue != ""
|
||||
? pin.entity.DefaultValue
|
||||
? /** @type {String} */(pin.entity.DefaultValue)
|
||||
: pin.entity.AutogeneratedDefaultValue)
|
||||
}
|
||||
if (isNaN(num)) {
|
||||
|
||||
Reference in New Issue
Block a user