Commit b1d68837 authored by 盖献康's avatar 盖献康

bug

parent e2962337
......@@ -38,7 +38,7 @@ export default {
const blob = new Blob([res.data])
const url = res.config['url']
const keyword = '-'
const index = url.indexOf(keyword, url.indexOf(keyword, url.indexOf(keyword) + 1) + 1)
const index = url.indexOf(keyword, url.indexOf(keyword) + 1)
let result = ''
if (index !== -1) {
result = url.substring(index + keyword.length)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment