modified: "web_source/brand-\346\227\247.html"
modified: web_source/brand.html modified: web_source/templates_backup/brand.html
This commit is contained in:
@@ -416,6 +416,7 @@
|
||||
</button>
|
||||
<div class="nav-dropdown-menu">
|
||||
<a class="nav-dropdown-item" href="/new_web_source/delete-brand.html">删除指定ASIN和品牌</a>
|
||||
<a class="nav-dropdown-item" href="/new_web_source/product-risk.html">商品风险解决</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -995,7 +996,7 @@
|
||||
}
|
||||
var zipUrl = task.result_paths.zip_url;
|
||||
var filename = 'brand_task_' + taskId + '.zip';
|
||||
if (api && api.save_file_from_url_new) {
|
||||
if (api && api.save_file_from_url) {
|
||||
a.style.pointerEvents = 'none';
|
||||
var done = function(ret) {
|
||||
if (ret && ret.success) {
|
||||
@@ -1006,7 +1007,7 @@
|
||||
a.style.pointerEvents = '';
|
||||
};
|
||||
try {
|
||||
var ret = api.save_file_from_url_new(zipUrl, filename);
|
||||
var ret = api.save_file_from_url(zipUrl, filename);
|
||||
if (ret && typeof ret.then === 'function') {
|
||||
ret.then(done).catch(function(err) { showToast('保存失败:' + (err && err.message || err)); a.style.pointerEvents = ''; });
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user