"...git@developer.sourcefind.cn:OpenDAS/tilelang.git" did not exist on "83412458769e9978d7d7750c58f0bc8663c13c9f"
Unverified Commit a71cbe85 authored by Lijiaoa's avatar Lijiaoa Committed by GitHub
Browse files

fix bug for customized trial (#3003)


Co-authored-by: default avatarLijiao <Lijiaoa@outlook.com>
parent bcddacba
......@@ -60,7 +60,10 @@ class Customize extends React.Component<CustomizeProps, CustomizeState> {
Object.keys(customized).map(item => {
if (item !== 'tag') {
// unified data type
if (typeof copyTrialParameter[item] === 'number' && typeof customized[item] === 'string') {
if (
(typeof copyTrialParameter[item] === 'number' && typeof customized[item] === 'string') ||
(typeof copyTrialParameter[item] === 'boolean' && typeof customized[item] === 'string')
) {
customized[item] = JSON.parse(customized[item]);
}
if (searchSpace[item] === undefined) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment