mirror of
https://github.com/MCSManager/UI.git
synced 2024-11-21 03:15:46 +08:00
新增 空名字实例创建
This commit is contained in:
parent
5849664aff
commit
e6f0d3c43a
@ -405,6 +405,9 @@ export default {
|
||||
cancelButtonText: "取消",
|
||||
type: "warning"
|
||||
});
|
||||
if (this.form.nickname === "" || this.form.startCommand === "") {
|
||||
return this.$message({ message: "参数不完整,请填写", type: "error" });
|
||||
}
|
||||
try {
|
||||
if (!this.form.cwd) this.form.cwd = ".";
|
||||
const data = await request({
|
||||
|
Loading…
Reference in New Issue
Block a user