Skip to content

Commit 65118ef

Browse files
committed
From->Form
1 parent 4a78d22 commit 65118ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/service/sys_auto_code.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func addAutoMoveFile(data *tplData) {
202202
if strings.Contains(data.autoCodePath, "js") {
203203
data.autoMoveFilePath = filepath.Join("../", "web", "src", dir, base)
204204
} else if strings.Contains(data.autoCodePath, "form") {
205-
data.autoMoveFilePath = filepath.Join("../", "web", "src", "view", filepath.Base(filepath.Dir(filepath.Dir(data.autoCodePath))), strings.TrimSuffix(base, filepath.Ext(base))+"From.vue")
205+
data.autoMoveFilePath = filepath.Join("../", "web", "src", "view", filepath.Base(filepath.Dir(filepath.Dir(data.autoCodePath))), strings.TrimSuffix(base, filepath.Ext(base))+"Form.vue")
206206
} else if strings.Contains(data.autoCodePath, "table") {
207207
data.autoMoveFilePath = filepath.Join("../", "web", "src", "view", filepath.Base(filepath.Dir(filepath.Dir(data.autoCodePath))), base)
208208
}

0 commit comments

Comments
 (0)