上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 39 下一页
摘要: 解决java web 项目中的Spring 2.5版本与JDK 1.8版本兼容问题。 错误如下: Context namespace element 'component-scan' and its parser class ComponentScanBeanDefinitionParser are 阅读全文
posted @ 2020-08-10 13:38 好学Ace 阅读(594) 评论(0) 推荐(0) 编辑
摘要: vue.js中在不使用jQuery的情况下,如何实现淡入淡出的组件(用于显示http请求成功或者失败的消息提示)?目前使用的是vue的transition动画。 <template> <div> <button v-on:click="Show">点击动画</button> <transition- 阅读全文
posted @ 2020-08-09 19:57 好学Ace 阅读(3522) 评论(1) 推荐(0) 编辑
摘要: 对于http的post json参数方法使用的是Apache的HttpClient-4.x.Jar,先引入jar 在maven添加如下: <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient --> 阅读全文
posted @ 2020-08-05 17:27 好学Ace 阅读(2195) 评论(0) 推荐(0) 编辑
摘要: 1、父组件: <template> <el-button @click="showDialog">显示</el-button> <div> <EquipmentDialog :title="title" :dialogVisible="dialogVisible" @close="close"></ 阅读全文
posted @ 2020-08-05 15:26 好学Ace 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 一.前言 第一次写vue项目,开发完成。打包上线后,一访问,发现访问后端的请求全部报404.我就纳闷了,跨域问题我已经解决了,怎么就报错了。 查阅资料,得知我解决的跨域仅适用于开发环境。 二、最简单直接方法:在main.js 中加入如下代码: import axios from 'axios' Vu 阅读全文
posted @ 2020-08-05 13:47 好学Ace 阅读(1246) 评论(0) 推荐(0) 编辑
摘要: vue npm 出现如下错误: 解决方法: #(1)第一步 npm cache clear --force #(2)第二步 删除node_modules文件夹 linux上:rm -rf node_modules window上: 直接手动删除 #(3)如果有package-lock.json文件就 阅读全文
posted @ 2020-08-02 17:08 好学Ace 阅读(530) 评论(0) 推荐(0) 编辑
摘要: Android Studio 生成apk错误: Could not download error_prone_annotations.jar (com.google.errorprone:error) 修改项目下build.gradle文件中的buildscript和allprojects,如下: 阅读全文
posted @ 2020-07-30 11:46 好学Ace 阅读(1528) 评论(0) 推荐(0) 编辑
摘要: 问题描述 developer.android.com在国内无法正常访问。 解决方案 将 android.com 替换为 android.google.cn 样例: 如果需要访问https://developer.android.com/reference, 修改URL为:https://develo 阅读全文
posted @ 2020-07-29 11:03 好学Ace 阅读(2559) 评论(0) 推荐(0) 编辑
摘要: Android 蓝牙有两种,一种是BLE蓝牙,另外一种是经典蓝牙。 BLE蓝牙连接与通讯使用的是 BluetoothKit 框架,BluetoothKit 框架源码地址与说明: https://gitee.com/www163/Android-BluetoothKit BluetoothKit 的弊 阅读全文
posted @ 2020-07-28 11:47 好学Ace 阅读(3861) 评论(0) 推荐(0) 编辑
摘要: 1、定义 Service package com.example.scangundemo_as; import android.app.ActivityManager; import android.app.Service; import android.content.ComponentName; 阅读全文
posted @ 2020-07-21 18:41 好学Ace 阅读(893) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 39 下一页