移动插件

This commit is contained in:
Anyon 2022-07-12 14:44:06 +08:00
parent 17deae634e
commit f84b2e7f2c
14 changed files with 27 additions and 9 deletions

View File

@ -23,11 +23,22 @@
<h3 class="layui-timeline-title">
版本号 {$version} <span class="margin-left-10 font-s13 color-desc">{$change.version|default=''}</span>
</h3>
<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>

View File

@ -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'],

File diff suppressed because one or more lines are too long