08 2020 档案

摘要:标签名字和directives后面名字对应,注意 “-” 后面挨着的字母要大写 html页面: <coice-saction-type /内容/ </coice-saction-type> js: directives.directive('coiceSactionType', function ( 阅读全文
posted @ 2020-08-27 09:35 青灯浊酒恋红尘 阅读(498) 评论(0) 推荐(0)
摘要:1. 安装babel-polyfill 执行以下命令,重启服务器: npm install --save babel-polyfill 2.在main.js引入 import 'babel-polyfill' 3.在webpack.base.conf.js中配置: entry: { app: ['b 阅读全文
posted @ 2020-08-10 15:17 青灯浊酒恋红尘 阅读(221) 评论(0) 推荐(0)
摘要:配置文件appconfig中 <add key="shujuKey" value="shujuValue" /> 在代码中使用 string shujuValue = ConfigurationManager.AppSettings["shujuKey"]; 阅读全文
posted @ 2020-08-07 14:51 青灯浊酒恋红尘 阅读(258) 评论(0) 推荐(0)
摘要:var url = $" url地址"; Dictionary<string, string> dicForm = new Dictionary<string, string>(); //添加的两个参数 dicForm.Add("LoginName", ""); dicForm.Add("Passw 阅读全文
posted @ 2020-08-07 10:54 青灯浊酒恋红尘 阅读(933) 评论(0) 推荐(0)
摘要:var url = $"http://api.。。。"; string postDataStr = " 参数 "; HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url + (postDataStr == "" ? "" : " 阅读全文
posted @ 2020-08-07 10:51 青灯浊酒恋红尘 阅读(672) 评论(0) 推荐(0)