Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a9f0434a
authored
Jun 06, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix bug修复
1 parent
32efc641
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
app.js
packageEquity/pages/aiInspectionDetail/components/audio/audio.js
app.js
View file @
a9f0434
...
@@ -20,7 +20,7 @@ import eventbus from './utils/eventbus'
...
@@ -20,7 +20,7 @@ import eventbus from './utils/eventbus'
import
api
from
'./api/api'
import
api
from
'./api/api'
import
{
Version
}
from
'glsx-common-sdk'
import
{
Version
}
from
'glsx-common-sdk'
import
{
areaList
}
from
'@vant/area-data'
//预加载省市区
import
{
areaList
}
from
'@vant/area-data'
//预加载省市区
// 将 api.reNoSignIn() 函数包装为
防抖
函数
// 将 api.reNoSignIn() 函数包装为
节流
函数
const
debouncedReNoSignIn
=
debounce
(
function
(
noSignInUuid
,
that
)
{
const
debouncedReNoSignIn
=
debounce
(
function
(
noSignInUuid
,
that
)
{
console
.
log
(
'debouncedReNoSignIn2222'
);
console
.
log
(
'debouncedReNoSignIn2222'
);
api
.
reNoSignIn
({
api
.
reNoSignIn
({
...
@@ -37,7 +37,7 @@ const debouncedReNoSignIn = debounce(function (noSignInUuid, that) {
...
@@ -37,7 +37,7 @@ const debouncedReNoSignIn = debounce(function (noSignInUuid, that) {
that
.
login
(
false
)
that
.
login
(
false
)
}
}
})
})
},
500
0
);
// 设置防抖时间为 5 秒
},
0
);
// 设置防抖时间为 5 秒
// 定义一个防抖函数
// 定义一个防抖函数
function
debounce
(
func
,
timeout
)
{
function
debounce
(
func
,
timeout
)
{
let
timer
;
let
timer
;
...
...
packageEquity/pages/aiInspectionDetail/components/audio/audio.js
View file @
a9f0434
...
@@ -41,6 +41,9 @@ Component({
...
@@ -41,6 +41,9 @@ Component({
// init()
// init()
this
.
audioInit
()
this
.
audioInit
()
},
},
detached
()
{
bgMusic
.
destroy
()
}
},
},
/**
/**
* 组件的方法列表
* 组件的方法列表
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment