我们打开后台会发现显示的字段仅仅包含article总的字段,需要看里面的内容的话我们需要点击进去看,有没有定制的方法把定义的字段显示出来呢? 1.方法一:通过model里面修改:使用self方法返回对象类: 返回一个标题: 返回一个对象: 2.方法二:在admin里面修改,这种方法比较常用。 建立一 ...
分类:
其他好文 时间:
2018-01-28 18:15:51
阅读次数:
395
No matter how hard the past is, you can always begin again. 不管过去有多么困难,你都可以重新开始。 Honestly, I don't agree with your opinion, I think it is just a toxic ...
分类:
其他好文 时间:
2018-01-20 22:42:02
阅读次数:
177
各种存储过程使用指南 <%@ Language=VBScript %> <% ' 開始链接数据库 Dim strConnString strConnString = "driver={SQL Server};server=songhp;uid=sa;pwd=;database=XVZDemo" se ...
分类:
其他好文 时间:
2018-01-20 19:49:41
阅读次数:
154
好吧,这段代码比较长,而且个人感觉还不够完美,只解析了括号内的运算 ...
分类:
其他好文 时间:
2018-01-20 00:19:01
阅读次数:
227
1 PowerDesigner中批量根据对象的name生成comment的脚本执行方法:Open PDM -- Tools -- Execute Commands -- Run ScriptVb script代码 Option Explicit ValidationMode = True Inter ...
分类:
其他好文 时间:
2018-01-19 15:50:11
阅读次数:
160
Chapter 1 My Early Home Chapter 2 My Training Chapter 3 Birtwick Park Chapter 4 A Fair Start Chapter 5 A Talk in the Orchard Chapter 6 A Stormy Day Ch ...
分类:
其他好文 时间:
2018-01-13 22:18:14
阅读次数:
214
Is It A Tree? A tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed ...
分类:
其他好文 时间:
2017-12-31 13:37:47
阅读次数:
161
三元运算符 判断条件?(条件为真时执行):(条件为假时执行) 对比记忆 var color='red' ; //判断颜色是否为red if(color 'red') { console.log('takeout'); }else { console.log('nothing'); } //使用三元运 ...
分类:
编程语言 时间:
2017-12-27 21:36:32
阅读次数:
150
假设有如下程序: /* example include file */ void myPrintHelloMake(void); 使用命令行编译 缺点: 1. 如果有更多的文件,gcc命令复杂 2. 如果只改动某个文件,所有文件都需要重新编译 Makefile 版本1 Makefile 文件中包含一 ...
分类:
其他好文 时间:
2017-12-20 13:35:28
阅读次数:
136
转载:https://www.cnblogs.com/cxd4321/archive/2009/03/07/1405475.html 在使用PowerDesigner对数据库进行概念模型和物理模型设计时,一般在NAME或Comment中写中文,在Code中写英文。Name用来显 示,Code在代码中 ...
分类:
其他好文 时间:
2017-12-16 15:52:51
阅读次数:
95