Closed carlosyan1807 closed 3 years ago
Yes, I think it will be good to support the multi-params. Since in my old project, the services are used to be the vuex actions, it keeps the vuex design that only pass one param. This will fix in next patch. Thanks the feedback!
This should be supported in https://github.com/ci010/electron-vue-next/commit/98d0d44da04fa2d9702994f7f1904684b3bb40c7
https://github.com/ci010/electron-vue-next/blob/d85735fb9a64a3dbbf36232b3280a4efff69f197/src/renderer/hooks/service.ts#L9-L10
https://github.com/ci010/electron-vue-next/blob/d85735fb9a64a3dbbf36232b3280a4efff69f197/src/main/services/index.ts#L77
when service:call passes multiple parameters, I think it can be changed like this.