jkchao / blog-admin

blog-admin @react、@typescript、@apollographql
https://admin.jkchao.cn
233 stars 52 forks source link

未定义callback函数的参数类型 #9

Closed ghost closed 6 years ago

ghost commented 6 years ago

https://github.com/jkchao/vue-admin/b tim 20180423165807 lob/2b65f0145301673f8db6c9ca62c073724b955c86/src/pages/set/index.vue#L293

jkchao commented 6 years ago

@happyhuizai 现在在 callback 里面加了参数,不报错了,但是总感觉怪怪的。。。

ghost commented 6 years ago

你往里面传参数了,如果没有传就不用定义参数类型