From be32fd8e1580f585059e4a66bce5c3636d51ec66 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Fri, 13 Sep 2024 13:06:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E5=87=AD=E8=AF=81=E8=8E=B7?= =?UTF-8?q?=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/oss.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/oss.js b/src/utils/oss.js index e4a324cf..b8dc5cd6 100644 --- a/src/utils/oss.js +++ b/src/utils/oss.js @@ -270,6 +270,7 @@ function getSTSToken(credentials) { loading = true; let res = await GetObjectStoreToken(); loading = false; + localStorage.setItem('stsToken', JSON.stringify(res)) resolve(res) let p = queue.shift(); while (p) {