Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4204c314
authored
Sep 27, 2024
by
卢越
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【功能修复】商城:底部导航栏装修,切换页面后图标变成默认的问题
parent
cf4ed96f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletions
+4
-1
src/components/DiyEditor/components/mobile/TabBar/property.vue
+4
-1
No files found.
src/components/DiyEditor/components/mobile/TabBar/property.vue
View file @
4204c314
...
...
@@ -79,7 +79,7 @@
</template>
<
script
setup
lang=
"ts"
>
import
{
TabBarProperty
,
THEME_LIST
}
from
'./config'
import
{
TabBarProperty
,
component
,
THEME_LIST
}
from
'./config'
import
{
usePropertyForm
}
from
'@/components/DiyEditor/util'
// 底部导航栏
defineOptions
({
name
:
'TabBarProperty'
})
...
...
@@ -88,6 +88,9 @@ const props = defineProps<{ modelValue: TabBarProperty }>()
const
emit
=
defineEmits
([
'update:modelValue'
])
const
{
formData
}
=
usePropertyForm
(
props
.
modelValue
,
emit
)
// 将数据库的值更新到右侧属性栏
component
.
property
.
items
=
formData
.
value
.
items
// 要的主题
const
handleThemeChange
=
()
=>
{
const
theme
=
THEME_LIST
.
find
((
theme
)
=>
theme
.
id
===
formData
.
value
.
theme
)
...
...
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