我在sessionStorage上已有一个对象,编码为:
sessionStorage.setItem('queryData', JSON.stringify(data));
let data = JSON.parse(sessionStorage.getItem('queryData'));
到目前为止,我的目标是能够更新该对象上的特定值,以便在更新后可以跨页面访问它们。
{Obj: [,…]}
Ojb: [,…]
0: {…}
dateOfBirth: "12331"
firstName: "Manue"
类似的东西:
sessionStorage.setItem('queryData', update(firstName: "John"));
如何在预定义的localSession对象中更新特定值?
答案 0 :(得分:1)
$EmailFrom = "xxxxxx@gmail.com"
$EmailTo = "xxxxx@gmail.com"
$Subject = "Subject"
$Body = "Body"
$filenameAndPath = "C:\Desktop\EE.txt"
$SMTPServer = "smtp.gmail.com"
Send-MailMessage -From $EmailFrom -To $EmailTo -Subject $Subject -body $Body -Attachments $filenameAndPath -SmtpServer $SMTPServer