1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2025-07-02 00:59:23 +00:00

Update MigrationTool.vue to clear default values for classNumber and serverUrl, and change targetServerUrl to a production URL for improved configuration. This enhances flexibility and aligns with recent server settings updates.

This commit is contained in:
SunWuyuan 2025-05-11 12:11:31 +08:00
parent c6f99da050
commit b82a553b1d
No known key found for this signature in database
GPG Key ID: A6A54CF66F56BB64

View File

@ -232,12 +232,12 @@ export default {
name: "MigrationTool",
data() {
return {
classNumber: "G2405",
classNumber: "",
machineId: "",
migrationType: "server",
serverUrl: "https://class.wuyuan.dev",
serverUrl: "",
targetStorage: "kv-server",
targetServerUrl: "http://localhost:3030",
targetServerUrl: "https://kv.wuyuan.dev",
startDate: this.getDateString(
new Date(Date.now() - 30 * 24 * 60 * 60 * 1000)
), // 30 days ago