03 2023 档案

摘要:一:全局引用 1,现在main中引用组件: import 组件别名 from '组件路径' 2.注册组件 Vue.component('组件别名', 组件别名) 1.在需要引用组件的页面中script下写如下代码 import 组件别名 from "组件路径"; 2.注册组件 components: 阅读全文
posted @ 2023-03-06 20:20 .net&new 阅读(282) 评论(0) 推荐(0) 编辑
摘要:输入命令:npm run build 项目目录下生成dist文件,这就是vue编译后的文件 阅读全文
posted @ 2023-03-03 21:13 .net&new 阅读(27) 评论(0) 推荐(0) 编辑
摘要:Stream s = System.Web.HttpContext.Current.Request.InputStream; byte[] b = new byte[s.Length]; s.Read(b, 0, (int)s.Length); return Encoding.UTF8.GetStr 阅读全文
posted @ 2023-03-03 09:31 .net&new 阅读(12) 评论(0) 推荐(0) 编辑
摘要:nuget安装包:Swashbuckle.AspNetCore.SwaggerGen nuget安装包:Swashbuckle.AspNetCore.SwaggerUI using Microsoft.OpenApi.Models;using Xiaowu_Ship.AutoMapper;var b 阅读全文
posted @ 2023-03-02 13:39 .net&new 阅读(295) 评论(0) 推荐(0) 编辑
摘要:C# IComparable 和 IComparer 区别 ios99999于 2017-09-02 13:53:48 发布7607 收藏 16 理解很重要: 开始对这两个接口的区别一直是很模糊,看到很多书后,终于知道了区别,形成了个人的理解: 关于 IComparable 比喻一个类person实 阅读全文
posted @ 2023-03-02 13:38 .net&new 阅读(15) 评论(0) 推荐(0) 编辑
摘要:使用nuget安装mysql 安装sqlsugar using SqlSugar;using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.Mvc; namesp 阅读全文
posted @ 2023-03-02 11:46 .net&new 阅读(650) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示