标题分词功能
This commit is contained in:
1 parent
22e5ae4ab7
commit
c032747651
22 files changed
+746
-185
No files matched your search
@@ -262,5 +262,23 @@ namespace TemuKJD.KJDForms.ShopForms
|
||||
}
|
||||
return "success";
|
||||
}
|
||||
|
||||
private void btnGetCookie_Click(object sender, EventArgs e)
|
||||
{
|
||||
//复制cookie
|
||||
var cookJs = @"
|
||||
document.body.innerHTML = '<button id=""button1"" onclick=""geCookie();"" style=""margin:10px;"">点击我复制cookie</button>' + document.body.innerHTML;
|
||||
function geCookie()
|
||||
{
|
||||
var cookieText = document.cookie;
|
||||
navigator.clipboard.writeText(cookieText).then(function() {
|
||||
alert('复制cookie成功!');
|
||||
}, function(err) {
|
||||
alert('复制cookie失败: ', err);
|
||||
});
|
||||
}";
|
||||
Clipboard.SetDataObject(cookJs);
|
||||
BaseMsgForm.ShowInfo("js复制成功");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user