本地js的src增加timestamp
This commit is contained in:
parent
aee73b2b42
commit
9d3238db2e
@ -386,6 +386,19 @@ if (jc.wallet.platform !== 'web') {
|
|||||||
}
|
}
|
||||||
// begin of token mall
|
// begin of token mall
|
||||||
|
|
||||||
|
function stakeNfts(...args) {
|
||||||
|
args.unshift('stakeNfts');
|
||||||
|
callProxyMethod.apply(this, args);
|
||||||
|
}
|
||||||
|
function redeemNfts(...args) {
|
||||||
|
args.unshift('redeemNfts');
|
||||||
|
callProxyMethod.apply(this, args);
|
||||||
|
}
|
||||||
|
function nftStakeInfo(...args) {
|
||||||
|
args.unshift('nftStakeInfo');
|
||||||
|
callProxyMethod.apply(this, args);
|
||||||
|
}
|
||||||
|
|
||||||
// begin of in-app pay
|
// begin of in-app pay
|
||||||
function queryGoogleProducts(...args) {
|
function queryGoogleProducts(...args) {
|
||||||
args.unshift('queryGoogleProducts');
|
args.unshift('queryGoogleProducts');
|
||||||
|
@ -78,6 +78,7 @@
|
|||||||
var loaded = 0;
|
var loaded = 0;
|
||||||
var loadNext = function () {
|
var loadNext = function () {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
|
list[loaded][0] = list[loaded][0] + (list[loaded][0].indexOf("?") == -1 ? "?" : "&") + "t=" + Date.now();
|
||||||
loadSingleScript(list[loaded]).then(() => {
|
loadSingleScript(list[loaded]).then(() => {
|
||||||
loaded++;
|
loaded++;
|
||||||
if (loaded >= list.length) {
|
if (loaded >= list.length) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user