Commit dc70eece by zhaochengxiang

去掉警告

parent 8d5e05de
......@@ -115,7 +115,7 @@ const ImportAction = (props) => {
}
const onConstraintChange = (value) => {
let currentConstraint = null, _hints = [];
let currentConstraint = null;
(constraints||[]).forEach((_constraint, index) => {
if (_constraint.name === value) {
......@@ -134,7 +134,7 @@ const ImportAction = (props) => {
}
const onTemplateChange = (value) => {
let currentTemplate = null, _hints = [];
let currentTemplate = null;
(templates||[]).forEach((_template, index) => {
if (_template.name === value) {
......
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