第一步: 创建lang文件夹 index.js import Vue from 'vue' import VueI18n from 'vue-i18n' import Cookies from 'js-cookie' import elementEnLocale from 'element-ui/l ...
分类:
其他好文 时间:
2021-04-23 11:59:54
阅读次数:
0
说明: break语句:终止并跳出循环体。continue语句:终止当前循环,重新开始一个新的循环。goto语句:跳转到指定位置 。 一,continue语句 class Program { static void Main(string[] args) { for(int i = 1; i <= ...
分享一些访问之后显示本机公网ip的url地址 http://ip.42.pl/raw https://api.ip.sb/ip http://ip.3322.net http://ip.qaros.com http://ip.cip.cc http://ident.me http://icanhaz ...
分类:
Web程序 时间:
2021-04-22 16:32:23
阅读次数:
0
使用 flex 布局竖直排列时,竖直换行后子元素未撑开父元素的问题解决 现有 html 结构如下: <div class="wrap"> <ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li> <li>6</li> <li>7</li> ...
分类:
其他好文 时间:
2021-04-22 16:19:56
阅读次数:
0
#!/usr/bin/env python #-*- coding:utf-8 -*- num=0 while num<=10: print(num,end="\t") num +=1 print("**************************") num2=0 sum_all=0 whil ...
分类:
其他好文 时间:
2021-04-22 16:16:24
阅读次数:
0
一、解决SpringBoot MongoDB插入文档默认生成_class字段问题 @Configuration public class SpringMongoConfig{ @Bean public MongoTemplate mongoTemplate() throws Exception { ...
分类:
数据库 时间:
2021-04-22 16:06:57
阅读次数:
0
照抄这个的 MFC实现Edit输入限制(只允许输入数字,小数点) Edit 控件的属性Number,只能控制只输入数字,不能控制输入小数的情况,实现这个就继承CEdit来写新的类 .h 代码 1 #pragma once 2 3 // CEditEx 4 5 class CEditEx : publ ...
分类:
编程语言 时间:
2021-04-22 16:05:43
阅读次数:
0
JVM问答 为什么是jvm 首先需要搞明白顺序,是先后的java,才有的jvm,又因为java语言的特性,导致必须出现一个像jvm这样的平台,才能满足java的跨平台特性。所以必须是jvm 为什么是class字节码文件 字节码文件是一个二进制文件,其实无论是什么文件都是二进制文件,class文件是一 ...
分类:
其他好文 时间:
2021-04-22 16:00:09
阅读次数:
0
<?php //index.php 公众号后台配置的路径是这个index.php $wechatObj = new wechat(); $wechatObj->responseMsg(); class wechat { //返回消息模板 private $textTpl = [ 'text' => ...
分类:
微信 时间:
2021-04-22 15:53:55
阅读次数:
0
对象举例: class User { private String username; private List<Wife> wifes; } class Wife { } 1. 问题 封装出的List长度数据不正确 比如wifes数据应该有两条,但是查询出来只有一条 2. 原因 由于使用Mybat ...
分类:
其他好文 时间:
2021-04-22 15:52:34
阅读次数:
0