|
|
@ -790,7 +790,7 @@ function export_link(url, fileName) { |
|
|
|
layer.confirm('导出的链接可以导入到浏览器也可以再次导入到OneNav!', {icon: 3, title:'确定导出所有链接?'}, function(index){ |
|
|
|
layer.confirm('导出的链接可以导入到浏览器也可以再次导入到OneNav!', {icon: 3, title:'确定导出所有链接?'}, function(index){ |
|
|
|
var date = new Date(); |
|
|
|
var date = new Date(); |
|
|
|
var current_time = date.toLocaleDateString(); |
|
|
|
var current_time = date.toLocaleDateString(); |
|
|
|
current_time = current_time.replaceAll("/","-"); |
|
|
|
current_time = current_time.replaceAll("/","."); |
|
|
|
var url = "index.php?c=api&method=export_link"; |
|
|
|
var url = "index.php?c=api&method=export_link"; |
|
|
|
var fileName = "OneNav_Export_" + current_time + ".html"; |
|
|
|
var fileName = "OneNav_Export_" + current_time + ".html"; |
|
|
|
var x = new XMLHttpRequest(); |
|
|
|
var x = new XMLHttpRequest(); |
|
|
|