一、概述 1.表单传给我们后台,中会有一些自动转换:String转int 2.我们要实现这样的自动,转换有两种方法 a.配置<mvc:annotation-driver /> b.配置<bean id="conversionService" class="org.springframework.fo ...
分类:
编程语言 时间:
2020-06-06 00:43:54
阅读次数:
75
html <template> <div class="HeaderBox"> <div :class="['HeaderButtonBox',current == item.path ? 'active' : '']" @click="clickHeaderBtn(item.path)" v-fo ...
分类:
其他好文 时间:
2020-06-05 16:51:50
阅读次数:
143
X++里格式化字符串使用strFmt函数,字符串里面的替代符号用%1表示,比如 1 strFmt("%1 World", Hello); 类似于C#里的string.Format,只不过C#里使用{0}做替代符号。在C#里,如果{N} N大于了后面字符串的数目,在运行期会报错,如下代码: Conso ...
分类:
其他好文 时间:
2020-06-02 09:21:36
阅读次数:
79
等腰三角形: package com.steven.demo; /** * 打印 5行的三角形 */ public class SquareDemo { public static void main(String[] args) { for (int i = 1; i < 6; i++) { fo ...
分类:
其他好文 时间:
2020-05-30 01:31:47
阅读次数:
166
原文:core获取客户端代码 在我们的启动类的 Configure方法里加上。 ?1app.UseForwardedHeaders(new ForwardedHeadersOptions { ForwardedHeaders = ForwardedHeaders.XForwardedFor | Fo... ...
分类:
其他好文 时间:
2020-05-28 21:47:17
阅读次数:
71
最近在使用element-ui upload 上传多个文件的时候发现element-ui的批量上传是每个文件都请求一次接口,但是我们项目的需求是多个文件只请求一次接口,经历一番久战后,得出以下总结。 当点击”确定“(如图所示)时,需要进行手动调接口,进行以下操作: 1 submitUpload(fo ...
分类:
Web程序 时间:
2020-05-28 19:55:02
阅读次数:
99
1 软件环境 Oracle Linux 6.9 Oracle 12.1.0.2 主库:sz.oracle.com,IP:192.168.1.102 备库:sh.oracle.com,IP:192.168.1.103 2 主数据库配置 2.1 检查并设置数据库 1)首先,主数据库必须处于强制日志(Fo ...
分类:
数据库 时间:
2020-05-27 20:17:03
阅读次数:
65
从AX2012开始,AX的View增加了Computed类型的字段,具体的操作步骤,参见下文。https://docs.microsoft.com/en-us/dynamicsax-2012/developer/walkthrough-add-a-computed-column-to-a-view# ...
分类:
其他好文 时间:
2020-05-25 00:14:08
阅读次数:
54
#include<bits/stdc++.h>#define ll long longusing namespace std;/*题意:怪物血量为x,可以使用两种技能,分别为x/2+10和x-10,当x<=10时不能使用技能1*/int main(){ int t,x,n,m; cin>>t; fo ...
分类:
其他好文 时间:
2020-05-23 13:04:49
阅读次数:
50
题目描述 n define fo(a,b,c) for (a=b; a=c; a ) define ll long long // define file using namespace std; int n,i,j,k,l; ll m,s; int main() { ifdef file freo ...
分类:
其他好文 时间:
2020-05-23 09:24:59
阅读次数:
48