Skip to content

Commit 9aff4ba

Browse files
committed
Added a 'moduleType' property to support multiple instances of the same module.
1 parent eef9d8d commit 9aff4ba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app-starter/WguAppTemplate.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,8 @@ export default {
186186
const moduleOpts = appConfig.modules[key];
187187
if (moduleOpts.win === target) {
188188
moduleWins.push({
189-
type: key + '-win',
189+
type: (moduleOpts.moduleType ?? key) + '-win',
190+
moduleName: key,
190191
...moduleOpts
191192
});
192193
}

0 commit comments

Comments
 (0)