Explorar o código

fix: 表单逻辑控制

lanceJiang hai 1 ano
pai
achega
abfa5eac93
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/packages/utils/field.js

+ 1 - 1
src/components/packages/utils/field.js

@@ -18,7 +18,7 @@ const wrapElement = (element, fn) => {
 		}
 		if (!node.id) {
 			// node.id = nanoid()
-			node.id = new Date().getTime()
+			node.id = +new Date() + ''
 		}
 		if (!node.key) {
 			node.key = `${node.type}${node.id}`