Skip to content

Commit e319c91

Browse files
committed
fix: 修复Gist同步页面参数错误赋值问题
1 parent dfbf2e1 commit e319c91

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store-front-end",
3-
"version": "2.15.5",
3+
"version": "2.15.6",
44
"private": true,
55
"scripts": {
66
"dev": "vite --host",

src/views/My.vue

+8-8
Original file line numberDiff line numberDiff line change
@@ -397,15 +397,15 @@ const toggleSyncPlatform = () => {
397397
398398
};
399399
const setDisplayInfo = () => {
400-
syncPlatformInput.value = syncPlatform.value || '';
401-
userInput.value = githubUser.value || t(`myPage.placeholder.noGithubUser`);
400+
syncPlatformInput.value = syncPlatform.value || "";
401+
userInput.value = githubUser.value || "";
402402
tokenInput.value = gistToken.value
403-
? gistToken.value.slice(0, 6) + "************"
404-
: t(`myPage.placeholder.noGistToken`);
405-
uaInput.value = defaultUserAgent.value || t(`myPage.placeholder.noDefaultUserAgent`);
406-
proxyInput.value = defaultProxy.value || t(`myPage.placeholder.noDefaultProxy`);
407-
timeoutInput.value = defaultTimeout.value || t(`myPage.placeholder.noDefaultTimeout`);
408-
cacheThresholdInput.value = cacheThreshold.value || t(`myPage.placeholder.noCacheThreshold`);
403+
? `${gistToken.value.slice(0, 6)}************`
404+
: "";
405+
uaInput.value = defaultUserAgent.value || "";
406+
proxyInput.value = defaultProxy.value || "";
407+
timeoutInput.value = defaultTimeout.value || "";
408+
cacheThresholdInput.value = cacheThreshold.value || "";
409409
};
410410
411411
// 同步 上传

0 commit comments

Comments
 (0)