add: 注入在本包的多余生成

This commit is contained in:
yuanzhao
2023-11-13 17:03:05 +08:00
parent 1a2bee5f5d
commit 497b1b5056

View File

@@ -327,7 +327,9 @@ func getImportStr(bc beanCache, m map[string]string) string {
sk := sortMap(nm)
got := ""
for _, k := range sk {
got += "\n\t" + nm[k] + " \"" + k + "\""
if k != "" {
got += "\n\t" + nm[k] + " \"" + k + "\""
}
}
return got