|
|
@ -316,16 +316,6 @@ export default { |
|
|
|
label: "ssrCloud", |
|
|
|
value: |
|
|
|
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/ssrcloud.ini" |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "贼船", |
|
|
|
value: |
|
|
|
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/zeichuan.ini" |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: "布丁", |
|
|
|
value: |
|
|
|
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/pud.ini" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
@ -643,16 +633,16 @@ export default { |
|
|
|
if (ls !== null) { |
|
|
|
let data = JSON.parse(ls) |
|
|
|
if (data.expire > now) { |
|
|
|
itemValue = data.value |
|
|
|
itemValue = data.value |
|
|
|
} else { |
|
|
|
localStorage.removeItem(itemKey) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
return itemValue |
|
|
|
return itemValue |
|
|
|
}, |
|
|
|
setLocalStorageItem(itemKey, itemValue) { |
|
|
|
const ttl = process.env.VUE_APP_CACHE_TTL |
|
|
|
const ttl = process.env.VUE_APP_CACHE_TTL |
|
|
|
const now = +new Date() |
|
|
|
|
|
|
|
let data = { |
|
|
|