Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
corporate-culture-qd
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王立鹏
corporate-culture-qd
Commits
369c6be5
Commit
369c6be5
authored
Jul 10, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 优化部署测试
parent
c0f86506
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
deploytest.js
deploy/deploytest.js
+4
-4
index.ts
src/api/common/index.ts
+1
-1
No files found.
deploy/deploytest.js
View file @
369c6be5
...
...
@@ -352,11 +352,11 @@ async function writeIndexHtml(entries) {
function getAccountCode() {
const storedValue = window.localStorage.getItem(STORAGE_KEY)
return storedValue
&& storedValue.trim() ? storedValue.trim() : DEFAULT_ACCOUNT
return storedValue
=== null ? DEFAULT_ACCOUNT : storedValue.trim()
}
function setAccountCode(value) {
const finalValue = value
&& value.trim() ? value.trim() : DEFAULT_ACCOUNT
const finalValue = value
.trim()
window.localStorage.setItem(STORAGE_KEY, finalValue)
if (accountInput && accountInput.value !== finalValue) {
accountInput.value = finalValue
...
...
@@ -365,8 +365,8 @@ async function writeIndexHtml(entries) {
}
function goToBranch(slug) {
const code =
encodeURIComponent(getAccountCode()
)
window.location.href = '/' + slug + '/
?code=' + code + '@yswg.com.cn'
const code =
getAccountCode(
)
window.location.href = '/' + slug + '/
' + (code ? '?code=' + encodeURIComponent(code) + '@yswg.com.cn' : '')
}
if (accountInput) {
...
...
src/api/common/index.ts
View file @
369c6be5
...
...
@@ -26,7 +26,7 @@ export const resolveUploadBaseUrl = () => {
};
const
OA_UPLOAD_COMMON_BASE_URL
=
'http://47.112.96.71:8082'
const
CHUNK_UPLOAD_THRESHOLD
=
1
0
*
1024
*
1024
const
CHUNK_UPLOAD_THRESHOLD
=
1
*
1024
*
1024
const
CHUNK_SIZE
=
5
*
1024
*
1024
const
MAX_CONCURRENT_UPLOADS
=
3
const
CHUNK_API_AUTH_SECRET
=
'4821-7395-1642-8053-2971-5604-9182-4307'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment