Skip to content

Releases: phpzlc/admin

3.0.1

01 Apr 03:53
Compare
Choose a tag to compare

v3 第一个稳定版本

3.0.0

27 Mar 08:42
750fcfe
Compare
Choose a tag to compare

适配symfony7

v2.0.2

15 Dec 03:47
Compare
Choose a tag to compare

简单修复

v2.0.1

31 Aug 03:05
Compare
Choose a tag to compare

完善了 urlParamWrite 得参数匹配正则

v2.0.1

16 Sep 02:09
c8ed61b
Compare
Choose a tag to compare

新方法

解决的问题

在 JavaScript 中如何创建多行字符串(JavaScript Multiline String)

技术策略

用注释进行定义,然后截取

Function.prototype.getMultiLine = function() {  
    var lines = new String(this);  
    lines = lines.substring(lines.indexOf("/*") + 3, lines.lastIndexOf("*/"));  
    return lines;  
}  
  
var ffff = function() {  
    /* 
    张三去倒水<br/> 
    <strong>天哪!</strong> 
    */  
}  
  
document.write(ffff.getMultiLine()); 

调用方式

summary: function (){
/**{{ item.book.bookInfo.summary | default }}*/
}.getMultiLine(),

v2.0.0

10 Mar 07:06
7116d1d
Compare
Choose a tag to compare

版本升级 适配 Symfony5.4

v1.0.10

17 Sep 06:59
e291d12
Compare
Choose a tag to compare
  1. 解决在命令行下报错的问题

v1.0.9

03 Sep 07:10
1a32d20
Compare
Choose a tag to compare
  1. 完善了样式资源的加载逻辑

v1.0.8

03 Aug 03:45
Compare
Choose a tag to compare

修改ADMIN_ENV

v1.0.7

03 Aug 03:23
Compare
Choose a tag to compare

修改ADMIN_ENV环境判断