摘要: axios等待同步请求 methods: { getLightList() { let that = this; return new Promise((resolve, reject) => { that.query.type = '0';// 灯光 getLightList(this.query 阅读全文
posted @ 2020-12-25 15:30 GraceYang 阅读(503) 评论(0) 推荐(0)
摘要: 1. 配置vue.config.js devServer: { host: '0.0.0.0', port: port, proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BA 阅读全文
posted @ 2020-12-25 14:32 GraceYang 阅读(636) 评论(0) 推荐(0)
摘要: /** * List去重 * @param list * @return */ public static List<String> removeDuplicate(List<String> list) { HashSet<String> h = new HashSet<String>(list); 阅读全文
posted @ 2020-12-25 14:30 GraceYang 阅读(536) 评论(0) 推荐(0)