Skip to content

Commit 9c2f068

Browse files
committed
fix: param等宽错误 #495
1 parent 0debb6b commit 9c2f068

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/languageOutPut/languageOutput.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @Github: https://github.com/OBKoro1
44
* @Date: 2018-11-08 12:58:51
55
* LastEditors : OBKoro1 [email protected]
6-
* LastEditTime : 2022-05-21 18:11:46
6+
* LastEditTime : 2023-01-13 20:45:53
77
* @Description: 不同语言的逻辑
88
*/
99
const LanguageDifferent = require('./languageDifferent')
@@ -119,9 +119,9 @@ class FunctionTplStr {
119119
*/
120120
handleParamReturn (obj, key) {
121121
if (this.config.configObj.specialOptions.param && key.startsWith('param')) {
122-
obj.key = util.spaceStringFn(this.config.configObj.specialOptions.param, this.config.functionWideNum)
122+
obj.key = util.spaceStringFn(this.config.configObj.specialOptions.param, this.config.configObj.functionWideNum)
123123
} else if (this.config.configObj.specialOptions.return && key.startsWith('return')) {
124-
obj.key = util.spaceStringFn(this.config.configObj.specialOptions.return, this.config.functionWideNum)
124+
obj.key = util.spaceStringFn(this.config.configObj.specialOptions.return, this.config.configObj.functionWideNum)
125125
}
126126
obj.type = 'fnMiddle_param'
127127
obj.typeVal = this.getTypeVal()

0 commit comments

Comments
 (0)