Update template.js

This commit is contained in:
Harvey committed 2020-09-24 11:15:08 +08:00
1 parent 6b9e0b3c42
commit 09a28ca2c4
1 file changed
+1 -1
+1 -1
View File
@@ -12,7 +12,7 @@ export default class Template {
}
errorHandle(
art.constructor.instances.every((art) => art.template.$container !== this.$container),
art.constructor.instances.every((ins) => ins.template.$container !== this.$container),
'Cannot mount multiple instances on the same dom element',
);