mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 05:52:43 +08:00
移动插件
This commit is contained in:
parent
17deae634e
commit
f84b2e7f2c
@ -23,11 +23,22 @@
|
||||
<h3 class="layui-timeline-title">
|
||||
版本号 {$version} <span class="margin-left-10 font-s13 color-desc">{$change.version|default=''}</span>
|
||||
</h3>
|
||||
{$change.content|default=''|raw}
|
||||
<div data-marked>
|
||||
{$change.content|default=''|raw}
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{/foreach}
|
||||
<li class="layui-timeline-item"></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
require(['marked'], function (marked) {
|
||||
$('[data-marked]').map(function () {
|
||||
if (this.marked) return; else this.marked = true;
|
||||
this.innerHTML = marked.parse(this.innerHTML);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</form>
|
@ -54,12 +54,13 @@ require.config({
|
||||
map: {'*': {css: baseRoot + 'plugs/require/css.js'}},
|
||||
paths: {
|
||||
'vue': ['plugs/vue/vue.min'],
|
||||
'md5': ['plugs/jquery/md5.min'],
|
||||
'json': ['plugs/jquery/json.min'],
|
||||
'xlsx': ['plugs/jquery/xlsx.min'],
|
||||
'jszip': ['plugs/jquery/jszip.min'],
|
||||
'md5': ['plugs/script/md5.min'],
|
||||
'json': ['plugs/script/json.min'],
|
||||
'xlsx': ['plugs/script/xlsx.min'],
|
||||
'jszip': ['plugs/script/jszip.min'],
|
||||
'excel': ['plugs/jquery/excel.xlsx'],
|
||||
'base64': ['plugs/jquery/base64.min'],
|
||||
'marked': ['plugs/script/marked.min'],
|
||||
'base64': ['plugs/script/base64.min'],
|
||||
'upload': [tapiRoot + '/api.upload/index?'],
|
||||
'notify': ['plugs/notify/notify.min'],
|
||||
'angular': ['plugs/angular/angular.min'],
|
||||
@ -67,10 +68,10 @@ require.config({
|
||||
'echarts': ['plugs/echarts/echarts.min'],
|
||||
'ckeditor4': ['plugs/ckeditor4/ckeditor'],
|
||||
'ckeditor5': ['plugs/ckeditor5/ckeditor'],
|
||||
'filesaver': ['plugs/jquery/filesaver.min'],
|
||||
'filesaver': ['plugs/script/filesaver.min'],
|
||||
'websocket': ['plugs/socket/websocket'],
|
||||
'pcasunzips': ['plugs/jquery/pcasunzips'],
|
||||
'compressor': ['plugs/jquery/compressor.min'],
|
||||
'pcasunzips': ['plugs/script/pcasunzips'],
|
||||
'compressor': ['plugs/script/compressor.min'],
|
||||
'sortablejs': ['plugs/sortable/sortable.min'],
|
||||
'vue.sortable': ['plugs/sortable/vue.draggable.min'],
|
||||
'jquery.ztree': ['plugs/ztree/ztree.all.min'],
|
||||
|
6
public/static/plugs/script/marked.min.js
vendored
Normal file
6
public/static/plugs/script/marked.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user