Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mocp-uniapp
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
pangchong
mocp-uniapp
Commits
c0dcb6d1
Commit
c0dcb6d1
authored
Aug 05, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改
parent
db84b174
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
src/mocp/components/widget/custom-tabbar.vue
+3
-0
src/mocp/hooks/use-params/useParams.js
+1
-1
No files found.
src/mocp/components/widget/custom-tabbar.vue
View file @
c0dcb6d1
...
...
@@ -46,6 +46,9 @@ const list = ref([
])
const
handleClickTabbar
=
(
name
)
=>
{
if
(
name
==
'chat'
)
{
return
uni
.
$mocpMessage
.
warning
(
'暂未开放!'
)
}
es
(
'update:modelValue'
,
name
)
es
(
'change'
,
name
)
}
...
...
src/mocp/hooks/use-params/useParams.js
View file @
c0dcb6d1
...
...
@@ -21,5 +21,5 @@ export const getParamNameByValue = (paramType, paramName, extend = {}) => {
},
[])
.
join
(
','
)
}
return
getParamsByType
(
paramType
).
find
((
item
)
=>
item
.
value
==
paramName
)?.
label
||
''
return
getParamsByType
(
paramType
)
?
.
find
((
item
)
=>
item
.
value
==
paramName
)?.
label
||
''
}
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