readme
This commit is contained in:
@@ -22,9 +22,6 @@ public partial class IDIS_RegisterService : Node
|
||||
{
|
||||
templateList.AddItem(x.TemplateName);
|
||||
}
|
||||
|
||||
var lineEdit = new LineEdit();
|
||||
lineEdit.PlaceholderText = "请输入标识名称";
|
||||
|
||||
templateList.ItemClicked += OnItemClicked;
|
||||
|
||||
@@ -34,6 +31,9 @@ public partial class IDIS_RegisterService : Node
|
||||
{
|
||||
handleEdit.Text = $"88.123.99/{Mathf.Abs(Guid.NewGuid().GetHashCode())}";
|
||||
};
|
||||
|
||||
handleEdit.Editable = false;
|
||||
registerButton.Disabled = true;
|
||||
}
|
||||
|
||||
private void OnItemClicked(long index, Vector2 atPosition, long mouseButtonIndex)
|
||||
@@ -72,6 +72,9 @@ public partial class IDIS_RegisterService : Node
|
||||
grid.AddChild(label);
|
||||
grid.AddChild(lineEdit);
|
||||
}
|
||||
|
||||
handleEdit.Editable = true;
|
||||
registerButton.Disabled = false;
|
||||
}
|
||||
|
||||
private void Register()
|
||||
|
Reference in New Issue
Block a user