使用说明: 元素上添加属性: data-role="popNew" data-relation="要弹出的元素class" html部分: <div class="wrap"> <h4 class="h4-txt" data-role="popNew" data-relation="tp-mess" ...
分类:
其他好文 时间:
2020-02-20 20:31:20
阅读次数:
87
var resArray = new Array(1,2,3);$.post(prefix + '/save/res/', { 'roleID' : $('#roleID').val(), 'resArray' : resArray, }, function(result) { top.closeL... ...
分类:
编程语言 时间:
2020-02-20 09:56:23
阅读次数:
81
class Role: n = 123 #类变量,存在类的内存里 name = "我是类name" def __init__(self, name, role, weapon, life_value=100, money=15000): #构造函数,在实例化时做类的初始化工作 self.name = ...
分类:
编程语言 时间:
2020-02-19 19:19:38
阅读次数:
65
[toc] "练习 MongoDB 操作 —— 数据操作(一)" " mongodb" 更新于 2017 09 19 约 18 分钟 原文链接: https://segmentfault.com/a/1190000011173681 本文的目标是通过大量的示例,来更好的理解如果在 中进行数据操作; ...
分类:
数据库 时间:
2020-02-19 10:29:44
阅读次数:
120
很多朋友说要分享一些基于ssm框架开发的项目,在休闲时间搭建和撸一个以ssm框架开发的零食商城源码,详情如下,希望大家能够见解和学习。 首先ssm定义是框架集由Spring、MyBatis两个开源框架整合而成(SpringMVC是Spring中的部分内容),在开发上前后分离,耦合度小,且开发方便快速 ...
分类:
其他好文 时间:
2020-02-17 14:28:16
阅读次数:
251
网上有很多的open OCX控件,down下来之后可以集成到ABAP后台,借助OCX实现很多强大的功能. 这是一个LED显示的例子. Run这个report之前,首先要把ocx文件注册到系统里去: (1) 以administrator的role运行cmd: 打开注册表,搜ledtest.ocx,找到 ...
分类:
其他好文 时间:
2020-02-15 13:19:05
阅读次数:
68
经常code review,我发现很容易写出一堆冗长的代码。今天就列几个比较常见的“解决之道”,看看如何减少JS里的条件判断。 提前返回,少用if...else 但是过多的嵌套,还是挺令人抓狂的。这里有一个很典型的条件嵌套: function func() { var result; if (con ...
分类:
Web程序 时间:
2020-02-14 22:50:29
阅读次数:
90
地址:https://blog.csdn.net/hellowordapi/article/details/75763432 在平常的业务系统开发中,我们经常需要设计数据层次关系,如在经典的user-role-permission权限设计中, 需要对权限表的数据设计成一种层次依赖关系,如最顶层的为系 ...
分类:
数据库 时间:
2020-02-13 12:44:08
阅读次数:
114
Access control is a fundamental element of the security infrastructure of any company. Every security officer wants to apply the principle of less pri ...
分类:
数据库 时间:
2020-02-12 16:37:04
阅读次数:
127
Trial and Error 可以被翻译为试错,更白话一些就是不断尝试,不断犯错,继续尝试,继续犯错,一直进行下去,直到作对了。 有一篇英文文章讲解的不错,特在此分享,原文链接: http://www.exforsys.com/career-center/problem-solving/the-u ...
分类:
其他好文 时间:
2020-02-12 00:27:43
阅读次数:
66