新增 空名字实例创建

This commit is contained in:
Suwings 2022-01-01 10:13:45 +08:00
parent 5849664aff
commit e6f0d3c43a

View File

@ -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({