上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 47 下一页
摘要: Mapper.java public interface StorageMapper extends BaseMapper<Storage> { List<Integer> getStorageIdByChannelId(List<Integer> channelIds); } mapper.xml 阅读全文
posted @ 2021-07-22 22:24 iTao0128 阅读(565) 评论(0) 推荐(0)
摘要: 1. 将data恢复到初始状态 Object.assign(this.$data, this.$options.data()) // 初始化data 2. 重新渲染组件 方法一:v-if(可以重置生命周期) 虽然能实现重新渲染,但不推荐首选 方法二:给组件加key值【推荐】 通过修改key的值,就会 阅读全文
posted @ 2021-07-22 22:19 iTao0128 阅读(1295) 评论(1) 推荐(1)
摘要: <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.8</version> </dependency> 【get请求】 package c 阅读全文
posted @ 2021-07-18 17:12 iTao0128 阅读(184) 评论(0) 推荐(0)
摘要: 1.【jmeter的jar包地址】下载后,打成jar包 https://github.com/thubbo/jmeter-plugins-for-apache-dubbo 2.将jar包拷贝至D:\apache-jmeter-5.1.1\lib\ext目录 阅读全文
posted @ 2021-07-18 12:33 iTao0128 阅读(160) 评论(0) 推荐(0)
摘要: package com.java.test1; import com.java.test1.controller.OrderController; import org.junit.jupiter.api.Test; import org.junit.runner.RunWith; import o 阅读全文
posted @ 2021-07-17 20:32 iTao0128 阅读(158) 评论(0) 推荐(0)
摘要: SpringBoot工程默认读取application.properties配置文件。如果需要自定义properties文件,如何读取呢? 一、在resource中新建.properties文件 在resource目录下新建一个config文件夹,然后新建一个.properties文件放在该文件夹下 阅读全文
posted @ 2021-07-16 21:36 iTao0128 阅读(1934) 评论(0) 推荐(0)
摘要: public static void main(String[] args) { SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Calendar cal = Calendar.getInstance(); ca 阅读全文
posted @ 2021-07-16 06:59 iTao0128 阅读(56) 评论(0) 推荐(0)
摘要: 【父工程(dubbo-demo)】 pom.xml <?xml version="1.0" encoding="UTF-8"?><project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/X 阅读全文
posted @ 2021-07-15 06:51 iTao0128 阅读(57) 评论(0) 推荐(0)
摘要: 通过 dubbo.properties dubbo.reference.com.foo.BarService.check=false dubbo.reference.check=false dubbo.consumer.check=false dubbo.registry.check=false 通 阅读全文
posted @ 2021-07-01 22:01 iTao0128 阅读(43) 评论(0) 推荐(0)
摘要: 数组转字符串 var authority= ['1','2']; let permission = authority.join(","); console.log(permission )//1,2 字符串转数组 var a='1,2' a.split(',') console.log(a)// 阅读全文
posted @ 2021-06-30 22:30 iTao0128 阅读(7538) 评论(1) 推荐(0)
上一页 1 ··· 34 35 36 37 38 39 40 41 42 ··· 47 下一页