Open Xsy41 opened 1 week ago
I think it is necessary to separate the files for each feature into folders on different platforms and consider their necessity. Is it too redundant, as many files (such as view files) are platform independent and only require passing different data and finding different elements on the page.
Would it be more convenient to extract different file retrieval functions and page element retrieval functions from the index file in each functional folder and extract them to different files within that folder. Otherwise, when changing the component itself, files in two different platform folders will need to be modified simultaneously.
Would it be more convenient to extract different file retrieval functions and page element retrieval functions from the index file in each functional folder and extract them to different files within that folder. Otherwise, when changing the component itself, files in two different platform folders will need to be modified simultaneously.
Yes, that makes sense, the different platform functions that get elements and the functions that get data can be extracted, under each function folder, divided into github.ts and gitee.ts.
Brief Information
This pull request is in the type of (more info about types):
Related issues (all available keywords):
Details
In preparation for HyperCRX to adapt to Gitee platform, similar to Github platform to get data and so on, changed the relevant get data file.
Checklist
Others