[toc] django与ajax的分页处理 ajax + sweetAlert 实现再次确认: 下载插件 : https://github.com/lipis/bootstrap sweetalert 二次确认的动态样式: 批量数据插入 分页: ...
分类:
Web程序 时间:
2019-12-02 23:09:38
阅读次数:
166
在需要使用的HTML中使用[(ngModel)]进行数据绑定: <div> <span>name:</span> {{hero.name}}</div> <div> <label> name: <input [(ngModel)]="hero.name" placeholder="name"> </ ...
分类:
其他好文 时间:
2019-12-02 13:17:32
阅读次数:
108
Netty学习——基于netty实现简单的客户端聊天小程序 效果图,聊天程序展示 (TCP编程实现) 后端代码: package com.dawa.netty.chatexample; import io.netty.bootstrap.ServerBootstrap; import io.nett ...
分类:
微信 时间:
2019-12-02 11:42:01
阅读次数:
184
出现错误: Failed to load resource: the server responded with a status of 404 () 但是其他页面正常显示: 原因: 浏览器看一下: 点开 看一下 请求链接: Request URL: http://localhost:8080/em ...
分类:
编程语言 时间:
2019-12-02 00:50:09
阅读次数:
101
mocha 测试用例代码 准备环境: angular admin 模块 karma.conf.js 配置karma 运行时环境,加载angular admin模块,需要引入angular.js等,类似正常开发过程中引入文件 引入mocha上述测试执行代码 对目标测试对象进行测试 使用angular ...
分类:
其他好文 时间:
2019-12-01 18:57:29
阅读次数:
95
一、Element简介 Element,一套基于 Vue 2.0 的桌面端组件库。(本文基于vue框架,使用Angular和React请移步Element_React、Element_Angular) 二、Element使用 首先搭建一个基于 Vue 和 Element 的开发环境 1、使用npm安 ...
分类:
其他好文 时间:
2019-12-01 17:06:06
阅读次数:
905
怎样让多个元素贴边平分? 为什么会有这个疑问呢?首先说明一下,接触前端有一年的时间了,自认为对静态布局不在话下,果然,自负的人最容易被打脸呐,刚换了一份工作,公司对前端要求比较严格。 公司使用的是bootstrap开发,我们都知道bootstrap框架最核心的是它的栅格系统,我当然也很喜欢这个啦,不 ...
分类:
其他好文 时间:
2019-12-01 15:20:05
阅读次数:
124
创建自定义验证器的命令 生成的文件内容 创建一个文件用来放置正则判断的验证器算法。validatot.ts 在刚刚生成的自定义验证器中继承并实现一个接口 有一个关键的地方是,实现Validator接口之后,要能够给全局的模板都能够实现,要注册。注册的密钥是angular固定提供的一种NG_VALID ...
分类:
其他好文 时间:
2019-12-01 13:35:23
阅读次数:
112
目标 1、springboot之jpa支持 2、Springboot+bootstrap界面版之增删改查及图片上传 spring boot之jpa支持 导入pom依赖 1 <dependency> 2 <groupId>org.springframework.boot</groupId> 3 <ar ...
分类:
编程语言 时间:
2019-12-01 13:23:49
阅读次数:
78
1、springboot之jpa支持 2、Springboot+bootstrap界面版之增删改查及图片上传 springboot之jpa支持 导入相关pom依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId ...
分类:
编程语言 时间:
2019-12-01 11:25:36
阅读次数:
85