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
82101895
Commit
82101895
authored
Jun 12, 2026
by
lijiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【feature 22261】 chore: 改用更简单的代码
parent
245931f0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
14 deletions
+16
-14
App.vue
src/App.vue
+2
-1
index.vue
src/components/common/CgGuide/index.vue
+1
-1
index.vue
src/components/common/LoginErrorModal/index.vue
+12
-11
main.ts
src/main.ts
+1
-1
No files found.
src/App.vue
View file @
82101895
...
...
@@ -20,8 +20,9 @@ import Progress from '@/components/common/Progress/index.vue'
const
locale
=
ref
(
zhCn
)
onMounted
(()
=>
{
console
.
log
(
import
.
meta
.
env
.
MODE
)
// console.table(__CORE_LIB_VERSION__)
if
(
import
.
meta
.
env
.
MODE
===
'production'
)
{
if
(
import
.
meta
.
env
.
PROD
)
{
initWxConfig
().
catch
((
error
)
=>
{
console
.
warn
(
'企业微信 SDK 初始化失败'
,
error
)
})
...
...
src/components/common/CgGuide/index.vue
View file @
82101895
...
...
@@ -194,7 +194,7 @@ const formattedDuration = computed(() => formatTime(videoDuration.value))
let
progressTimer
:
ReturnType
<
typeof
setInterval
>
|
null
=
null
const
SKIP_TIME
=
import
.
meta
.
env
.
MODE
===
'production'
?
60
:
0
const
SKIP_TIME
=
import
.
meta
.
env
.
PROD
?
60
:
0
const
startTimers
=
()
=>
{
progressTimer
=
setInterval
(()
=>
{
if
(
videoRef
.
value
)
{
...
...
src/components/common/LoginErrorModal/index.vue
View file @
82101895
...
...
@@ -41,7 +41,7 @@
</h3>
<p
class=
"mt-2 text-center text-13px text-gray-500 leading-5"
>
{{
mess
ga
e
}}
{{
mess
ag
e
}}
</p>
</div>
</div>
...
...
@@ -51,17 +51,18 @@
</
template
>
<
script
setup
lang=
"ts"
>
const
{
title
=
'登录异常'
}
=
defineProps
<
{
title
?:
string
}
>
()
const
{
title
=
"登录异常"
}
=
defineProps
<
{
title
?:
string
;
}
>
()
;
const
messgae
=
'检测到未登录或者登录错误,'
+
import
.
meta
.
env
.
MODE
===
'production'
?
'请关闭标签页,从企微工作台或分享/消息链接重新打开应用'
:
'请关闭网页或重新打开网页携带code'
const
message
=
"检测到未登录或者登录错误,"
+
(
import
.
meta
.
env
.
PROD
?
"请关闭标签页,从企微工作台或分享/消息链接重新打开应用"
:
"请关闭网页或重新打开网页携带code"
);
const
visible
=
defineModel
<
boolean
>
({
default
:
false
})
const
visible
=
defineModel
<
boolean
>
({
default
:
false
})
;
onMounted
(()
=>
{
visible
.
value
=
true
})
visible
.
value
=
true
;
})
;
</
script
>
src/main.ts
View file @
82101895
...
...
@@ -18,7 +18,7 @@ import 'notivue/animations.css'
import
{
vParseComment
}
from
'@/directives'
if
(
import
.
meta
.
env
.
MODE
===
'production'
)
{
if
(
import
.
meta
.
env
.
PROD
)
{
import
(
'@/utils/version'
).
then
(({
loopGetVersion
})
=>
loopGetVersion
())
}
...
...
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