Commit Graph
268 Commits
Author SHA1 Message Date
SunWuyuan 4f2fd40f78 1 2025-02-23 14:35:39 +08:00
SunWuyuan dfdb662e11 1 2025-02-23 14:16:51 +08:00
孙悟元 e637959904 Update index.vue 2024-12-07 17:14:48 +08:00
SunWuyuan 2004acc573 1 2024-11-24 16:57:03 +08:00
SunWuyuan 1be14511c7 1 2024-11-24 16:54:40 +08:00
SunWuyuan 1137f44c44 1 2024-11-24 16:52:47 +08:00
孙悟元 7abd0f0a15 Merge pull request #1 from SunWuyuan/add-server-selection
Add server selection page
2024-11-24 10:36:29 +08:00
SunWuyuan 425110299d 1 2024-11-24 10:35:55 +08:00
SunWuyuan cbc7498c61 1 2024-11-24 09:32:29 +08:00
SunWuyuan e54b30a683 1 2024-11-24 09:32:05 +08:00
孙悟元 58e286d80b Add server selection page
Add a new page for server selection and update backend URL handling.

* **ServerSelection.vue**: Create a new Vue component with a form to input and save the backend server URL to `localStorage`. Add methods to handle form submission and load the saved URL on component mount.
* **index.vue**: Update the `data` method to retrieve the backend URL from `localStorage`. Remove the hardcoded `backurl` value. Add a method to update the backend URL from `localStorage` on component mount. Update API requests to use the dynamic backend URL.
* **router/index.js**: Add a new route for the `ServerSelection` component.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/SunWuyuan/homeworkpage-frontend?shareId=XXXX-XXXX-XXXX-XXXX).
2024-11-24 08:55:05 +08:00
SunWuyuan 8c30232ece 11 2024-11-24 08:45:08 +08:00
SunWuyuan 51f1c555c6 11 2024-11-23 21:40:08 +08:00
SunWuyuan d85c3a1f0d 1 2024-11-23 21:39:01 +08:00
SunWuyuan 85fd50cab4 1 2024-11-17 17:07:41 +08:00
SunWuyuan 4e04a37f5b 1 2024-11-17 17:07:26 +08:00
SunWuyuan 72cee17d7f 1 2024-11-17 17:04:36 +08:00
SunWuyuan b65cbdeefc first commit 2024-11-17 17:04:31 +08:00