码迷,mamicode.com
首页 >  
搜索关键字:@component @controller @service @repository    ( 41522个结果
Angular 使用 Injector API 人工获取依赖注入的实例
这个例子的完整源代码: import { Component, OnInit, Injectable, Injector } from '@angular/core'; @Injectable() class UsefulService { constructor(){ console.log("U ...
分类:Windows程序   时间:2021-06-05 18:34:25    阅读次数:0
gateway 跨域问题解决方案
1.写个配置类CorsConfig (如果不行,可以不写此类,和springcloud的版本有关) package net.youqu.micro.service.config; import org.springframework.context.annotation.Bean; import o ...
分类:其他好文   时间:2021-06-05 18:32:57    阅读次数:0
Uin-app 之配置腾讯位置插件
一、代码 在manifest.json中配置,官网文档:https://uniapp.dcloud.io/component/mp-weixin-plugin "mp-weixin" : { "appid" : "", "setting" : { "urlCheck" : false, "minif ...
分类:移动开发   时间:2021-06-05 18:17:48    阅读次数:0
Linux关闭防火墙命令
1:查看防火状态 systemctl status firewalld service iptables status 2:暂时关闭防火墙 systemctl stop firewalld service iptables stop 3:永久关闭防火墙 systemctl disable firew ...
分类:系统相关   时间:2021-06-05 17:51:23    阅读次数:0
future应用相关
1 package com.future; 2 3 import java.util.concurrent.*; 4 5 6 public class FDemo { 7 public static final ExecutorService service = Executors.newSingl ...
分类:其他好文   时间:2021-06-04 19:55:49    阅读次数:0
vue封装axios
安装axios npm install axios 封装 import axios from 'axios' // 创建axios实例 const service = axios.create({ baseURL: 'http://localhost:9001', // api的base_url t ...
分类:移动开发   时间:2021-06-04 19:39:19    阅读次数:0
什么是云服务器ECS
云服务器ECS 云服务器ECS(Elastic Compute Service)是阿里云提供的性能卓越、稳定可靠、弹性扩展的IaaS(Infrastructure as a Service)级别云计算服务。云服务器ECS免去了您采购IT硬件的前期准备,让您像使用水、电、天然气等公共资源一样便捷、高效 ...
分类:其他好文   时间:2021-06-04 19:32:13    阅读次数:0
vue取值及方法的操作
1.路由传值: 传值:this.$router.push({ path: '/a', query: { id:1, age:18 } }) //如点击时触发 接收:this.$route.query.id || this.$route.query.age 2.父组件找子组件拿值及其方法: 父: im ...
分类:其他好文   时间:2021-06-04 19:08:41    阅读次数:0
docker镜像
列出镜像: docker images REPOSITORY: 镜像所在仓库名称 TAG: 镜像版本 IMAGE ID: 镜像id CREATED: 镜像创建时间 SIZE: 镜像大小 唯一表示一个镜像: repository:tag 或者imageId 网络中搜索需要的镜像: docker sea ...
分类:其他好文   时间:2021-06-04 18:47:30    阅读次数:0
React 绑定事件的几种写法bind(this)
1. 我们在 React class Component 绑定事件时,经常会通过 bind(this) 来绑定事件 class Home extends React.Component{ constructor( props ){ super( props ); } handleClick(even ...
分类:其他好文   时间:2021-06-03 18:04:10    阅读次数:0
41522条   上一页 1 ... 9 10 11 12 13 ... 4153 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!