码迷,mamicode.com
首页 >  
搜索关键字:A component require    ( 12084个结果
Angular父子组件之间通讯传值
一,父组件给子组件传值 1,父组件调用子组件的时候传入数据 <app-header [msg]="msg"></app-header> 2,子组件引入Input模块 import { Component, OnInit ,Input } from '@angular/core'; 3,子组件中@In ...
分类:其他好文   时间:2020-07-04 17:17:25    阅读次数:69
基于springBoot使用aop与mvc拦截器实现登陆校验
1.编写切面类 @Component @Aspect @Slf4j public class SellerAuthorizeAspect { @Autowired StringRedisTemplate stringRedisTemplate; @Pointcut(value = "executio ...
分类:编程语言   时间:2020-07-04 16:55:54    阅读次数:133
文件内容排名算法,输入排名函数,返回排名后的文件名
const fs=require('fs'); //比较字符基类大小 相同返回0,str1>str2 返回1,str1<str2 返回-1, function str_compare(str1,str2){ let index=0; let dis=0; while (dis 0&&index<st ...
分类:编程语言   时间:2020-07-04 15:35:58    阅读次数:79
fastadmin(tp5)搭建gateway
1、先把composer调成国内镜像: composer config -g repo.packagist composer https://packagist.phpcomposer.com 不更换也行,但是很慢,建议更换 2、进项目根目录(不是public) composer require w ...
分类:其他好文   时间:2020-07-04 14:58:55    阅读次数:73
composer require workerman/gateway-worker时报错
Your requirements could not be resolved to an installable set of packages. Problem 1 - phpoffice/phpspreadsheet 1.10.1 requires ext-fileinfo * -> the ...
分类:其他好文   时间:2020-07-04 11:39:20    阅读次数:104
完美解决 python ImportError: Failed to import any qt binding
问题背景 在ContOS服务器上测试项目 解决方案 谷歌查询 解决步骤 降低matplotlib版本至2.2.2 pip3 install matplotlib==2.2.2 出现新的问题,ImportError: Matplotlib qt-based backends require an ex ...
分类:编程语言   时间:2020-07-03 23:38:57    阅读次数:347
Caused by: java.lang.NoClassDefFoundError: Lorg/slf4j/Logger;
错误日志: java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHos ...
分类:编程语言   时间:2020-07-03 19:52:09    阅读次数:84
CentOS 环境 Node + Koa2 连接 MySQL (ECS系列三)
Koa 搭建服务 新建一个文件夹 koa_server,进入后 cnpm i -S koa 会生成 node_modules 依赖包,以及 package.json 创建文件 server.js,并写入 const Koa = require('koa'); const app = new Koa( ...
分类:数据库   时间:2020-07-03 19:14:07    阅读次数:70
vue-cli3搭建的vue项目中使用jquery
装包:npm install jquery --save 方式一 全局使用 1)main.js中引入 // jquery import $ from 'jquery' Vue.prototype.$ = $; 2)更改vue.config.js const webpack = require('we ...
分类:Web程序   时间:2020-07-03 19:12:59    阅读次数:76
React 的 Class 组件
写在前面 在 React 中,定义组件的方式有两种,一个是 class 类组件,一个是函数组件。class 类组件的实现相比于函数组件要复杂。 1. return React 元素 React 组件必须是返回 React 元素的物件,因此无论是函数组件还是类组件都必须有 return React元素 ...
分类:其他好文   时间:2020-07-03 15:19:33    阅读次数:79
12084条   上一页 1 ... 57 58 59 60 61 ... 1209 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!