摘要:
nuget安装 Microsoft.AspNetCore.Authentication.JwtBearer 3.1.0 版本 appsettings.json "Authentication": { //jwt "JwtBearer": { "IsEnabled": "true", "Securit 阅读全文
摘要:
创建 1 创建一个WebService的项目 2 添加Web服务(ASMX) 3 启动查看是否正常 实列 public class WebService1 : System.Web.Services.WebService { SoundPlayer player = new SoundPlayer( 阅读全文
摘要:
方案 let table = document.querySelector("body"); if (table) { table.setAttribute("style", "background-color:#f7f7f7"); } // document // .querySelector(" 阅读全文
摘要:
1.安装 $ npm install --save nprogress $ yarn add nprogress 2.使用 App.vue <script lang="ts"> import NProgress from "nprogress"; import "nprogress/nprogres 阅读全文
摘要:
安装组件 npm install vue-quill-editor -S 组件挂载 有两种挂载方式: 全局挂载 和 在组件中挂载,根据自己的项目需求选择,一般用到富文本编辑都是在某一个项目中 全局挂载 // main.js import Vue from 'vue' import VueQuillE 阅读全文
摘要:
新建index.js import Vue from "vue"; /** * 回到顶部功能实现过程: * 1. 获取页面当前距离顶部的滚动距离(虽然IE不常用了,但还是需要考虑一下兼容性的) * 2. 计算出每次向上移动的距离,用负的滚动距离除以5,因为滚动的距离是一个正数,想向上移动就是做一个减 阅读全文
摘要:
下载tff格式的字体 assets中新建文件夹fonts,把tff字体文件放在fonts,并在assets/css中新建font.css @font-face { font-family: "Acy"; src: url('../fonts/Acy.ttf') format('truetype'); 阅读全文
摘要:
class Program { static void Main(string[] args) { int[] scores = new int[5]; int i, j; // 循环变量 int temp; // 临时变量 // 读入成绩 Console.WriteLine("请输入5个学员的成绩 阅读全文
摘要:
正方形 #square { width: 100px; height: 100px; background: red; } 长方形 #rectangle { width: 200px; height: 100px; background: red; } 圆形 #circle { width: 100 阅读全文
摘要:
下载地址:[CSkin](http://www.cskin.net/) 博客地址:[kin](http://bbs.cskin.net/) ### 使用步骤 1.工具箱右键-新建项-命名CSkin。 2.将CSkin.dll拖到新建的工具箱栏里。 3.控件添加完毕,控件拖拽到界面即可使用和引用。 4 阅读全文