diff --git a/_toast.ps1 b/_toast.ps1 index 29e4a033..b624b944 100644 --- a/_toast.ps1 +++ b/_toast.ps1 @@ -3,8 +3,8 @@ [Windows.Data.Xml.Dom.XmlDocument, Windows.Data.Xml.Dom.XmlDocument, ContentType = WindowsRuntime] | Out-Null $t = [Windows.UI.Notifications.ToastNotificationManager]::GetTemplateContent([Windows.UI.Notifications.ToastTemplateType]::ToastText02) $n = $t.GetElementsByTagName('text') -$n.Item(0).AppendChild($t.CreateTextNode('档案填写自动带出部门员工关联并隐藏该字段')) | Out-Null -$n.Item(1).AppendChild($t.CreateTextNode('用户详情页「点击填写/编辑」按本页员工自动填充,GERP 已部署(bf94cec)')) | Out-Null +$n.Item(0).AppendChild($t.CreateTextNode('「其它志愿工作」改为条件显示')) | Out-Null +$n.Item(1).AppendChild($t.CreateTextNode('仅当「志愿工作=其它」时出现;新增通用 visibleWhen 机制,GERP 已部署(a25cae3)')) | Out-Null $toast = [Windows.UI.Notifications.ToastNotification]::new($t) [Windows.UI.Notifications.ToastNotificationManager]::CreateToastNotifier('TraeCode Agent').Show($toast) Write-Output 'toast-ok'