这是组件内报错,将Type类型改为[Number, String]即可 props: { count: { type: Number, default: 0 }, } 改为 props: { count: { type: [Number, String], default: 0 }, } ...
分类:
移动开发 时间:
2020-03-01 10:28:20
阅读次数:
168
一、Span<T>概述 原文:Provides a type- and memory-safe representation of a contiguous region of arbitrary memory. 中文的翻译不准确,这里给出比较厚道的翻译:提供类型T安全、连续的内存区域的表达方式. ...
分类:
Web程序 时间:
2020-03-01 10:24:38
阅读次数:
176
【syntaxError:invalid syntax】(语法错误:无效语法)。 多为各种该用英文符号而错用中文符号的报错情况 【TypeError:can only concatenate str (not "int") to str】(类型错误:只能将字符串与字符串拼接) 留意整数与字符串的拼接 ...
分类:
其他好文 时间:
2020-02-29 22:23:57
阅读次数:
71
/// <summary> /// 截图核心 /// </summary> [Description("截图核心")] public class ScreenCore { #region /// <summary> /// 截图ActiveX /// </summary> public Active ...
分类:
Web程序 时间:
2020-02-29 19:03:18
阅读次数:
90
原题链接在这里:https://leetcode.com/problems/confusing-number/ 题目: Given a number N, return true if and only if it is a confusing number, which satisfies the ...
分类:
其他好文 时间:
2020-02-29 13:10:38
阅读次数:
42
Invalid argument syntax org.springframework.core.env.Simple CommandLineArgs Parser.parse 具体问题应该是启动的commandline 输入命令格式问题 Purpose This CommandLineProper ...
分类:
编程语言 时间:
2020-02-28 15:35:56
阅读次数:
155
在前后端的协作过程中,通常都是并行开发的状态,那么在后端接口还没有开发完毕时,前端的业务逻辑工作就很难展开。因此也就有很多模拟接口数据的方式,这些方式各有个的优缺点: 直接在代码中模拟接口数据:侵入业务逻辑,在后期需要删除这些模拟数据; fiddler 替换文件:页面接口比较多时,需要替换的文件比较 ...
分类:
其他好文 时间:
2020-02-28 13:39:01
阅读次数:
99
今日大坑: 环境是springboot+mybatis plus,debug进入controller后无法走到service层,之前搜关键词Invalid bound statement (not found): ,出来的都是dao层扫描不到,于是我就搜关键词Invalid bound statem ...
分类:
其他好文 时间:
2020-02-28 12:05:28
阅读次数:
59
#region //右上 for (int i = 1; i <= 9; i++) { for (int j = 1; j <= 9; j++) { if (i > j) { Console.Write("\t"); } else { Console.Write("{0}*{1}={2}\t", i ...
分类:
其他好文 时间:
2020-02-27 23:46:02
阅读次数:
215
由于ASP.NET Core应用是一个同时处理多个请求的服务器应用,所以在处理某个请求过程中抛出的异常并不会导致整个应用的终止。出于安全方面的考量,为了避免敏感信息的外泄,客户端在默认的情况下并不会得到详细的出错信息,这无疑会在开发环境下增加查错纠错的难度。对于生产环境来说,我们也希望最终用户能够根 ...
分类:
Web程序 时间:
2020-02-27 21:07:43
阅读次数:
89