1Panel-dev/MaxKB

[Bug] 【表单收集】表单收集节点,增加判断器判断表单里的值是否为空,出现报错 unsupported operand type(s) for -: 'float' and 'str'。

Closed this issue · 4 comments

Contact Information

No response

MaxKB Version

v2.0.2

Problem Description

【表单收集】表单收集节点,增加判断器判断表单里的值是否为空,出现报错 unsupported operand type(s) for -: 'float' and 'str'。

Steps to Reproduce

【表单收集】表单收集节点,增加判断器判断表单里的值是否为空,出现报错 unsupported operand type(s) for -: 'float' and 'str'。

Image Image

The expected correct result

No response

Related log output

Additional Information

No response

你好,没有复现这个问题。请提供应用文件。

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Hello, this problem has not been reproduced. Please provide the application file.

表单节点中的开始时间start_time和内置的参数名称重复,导致出现该问题,将start_time改为startime即可正常运行。

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The start_time and built-in parameter names in the form node are duplicated, causing this problem. Change start_time to start time and run normally.