mirror of
https://github.com/MCSManager/UI.git
synced 2025-02-17 18:39:30 +08:00
Fix: command default value
This commit is contained in:
parent
7314c184a5
commit
94285fd742
@ -189,6 +189,15 @@ export default {
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
activeName() {
|
||||
if (this.activeName === "program" || this.activeName === "bds") {
|
||||
this.command.additional = "";
|
||||
this.command.suffix = "";
|
||||
} else {
|
||||
this.command.additional = "-Dfile.encoding=UTF-8 -Duser.language=zh -Duser.country=CN";
|
||||
this.command.suffix = "nogui";
|
||||
}
|
||||
},
|
||||
defaultProgramName() {
|
||||
this.command.programName = this.defaultProgramName;
|
||||
},
|
||||
|
@ -218,10 +218,10 @@ export default {
|
||||
}
|
||||
],
|
||||
back: "Back",
|
||||
instanceNameInfo: "Support Chinese and ensure uniqueness as much as possible",
|
||||
instanceNameInfo: "Instance nickname",
|
||||
instanceNameInfo2: "Instance name, as unique as possible",
|
||||
commandTemplate: "Startup Command Template",
|
||||
commandTemplateText: "where${ProgramNa&# 109;e} represents the name of the file you upload next, under normal circumstances there is no need to modify it",
|
||||
commandTemplateText: "where $ProgramName represents the name of the file you upload next, under normal circumstances there is no need to modify it",
|
||||
cmdInfo: "eg java -jar server.jar",
|
||||
cmdAssist: "Command Assistant",
|
||||
fileDir: "Server file directory",
|
||||
|
Loading…
Reference in New Issue
Block a user