摘要: 一.安装路由: npm install uni-simple-routernpm install uni-read-pages 二.配置路由: 1.根目录新建router.js: // router.js import {RouterMount,createRouter} from 'uni-sim 阅读全文
posted @ 2022-10-10 17:36 hello_stone 阅读(711) 评论(0) 推荐(0)
摘要: js客户端跨域访问webapi报 XMLHttpRequest from origin has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resou 阅读全文
posted @ 2022-08-10 11:25 hello_stone 阅读(314) 评论(0) 推荐(0)
摘要: 之前一篇文章说过,vue里用到了es6的拓展(...)语法,然后编译一直报错 unExpected token 解决方案是 1、引入babel依赖 npm install babel-plugin-transform-object-rest-spreadnpm install babel-prese 阅读全文
posted @ 2022-07-20 11:26 hello_stone 阅读(786) 评论(1) 推荐(0)
摘要: 一、使用svg的好处未来必热:SVG Sprite技术介绍第一种方式:二、安装svg-sprite-loader npm install svg-sprite-loader --save-dev 三、webpack 配置(build/webpack.base.conf.js) { test: /\. 阅读全文
posted @ 2022-06-29 17:45 hello_stone 阅读(2065) 评论(0) 推荐(0)
摘要: AutoMapper在加载配置文件时,在startup是这样写的 。 services.AddAutoMapper(typeof(VModels.VModelMapperProfile)); services.AddAutoMapper(typeof(UserMapperProfile)); 单个文 阅读全文
posted @ 2021-11-25 14:16 hello_stone 阅读(325) 评论(0) 推荐(0)
摘要: 1,创建一个web应用程序,启用docker支持 2,生成dockerfile如下 #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your ima 阅读全文
posted @ 2021-09-21 21:10 hello_stone 阅读(377) 评论(0) 推荐(0)
摘要: 最近想给kibana加一个索引,点创建后卡死,一直在转圈. 网上搜索找到如下解决方案. 执行第一句返回 : { ".kibana": { "settings": { "index": { "number_of_shards": "1", "blocks": { "read_only_allow_de 阅读全文
posted @ 2021-09-16 10:37 hello_stone 阅读(455) 评论(0) 推荐(0)
摘要: 原文地址:http://geek.csdn.net/news/detail/52589 在这篇文章中,将介绍一些提高 ASP.NET Web 应用性能的方法和技巧。众所周知,解决性能问题是一项繁琐的工作,当出现性能问题,每个人都会归咎于编写代码的开发人员。 以下为译文 那性能问题到底该如何解决?以下 阅读全文
posted @ 2021-09-11 23:59 hello_stone 阅读(46) 评论(0) 推荐(0)
摘要: IIS默认是不支持put,delete谓词的请求方式的,若要支持需要修改webconfig,如下: <?xml version="1.0" encoding="utf-8"?><configuration> <location path="." inheritInChildApplications= 阅读全文
posted @ 2021-09-11 23:57 hello_stone 阅读(341) 评论(0) 推荐(0)
摘要: 今天启动window上的nginx总是报错 查看nginx错误日志 错误信息是bind() to 0.0.0.0:80 failed (10013: An attempt was made to access a socket in a way forbidden by its access per 阅读全文
posted @ 2021-07-28 11:36 hello_stone 阅读(187) 评论(0) 推荐(0)