Commit 554afc36 by pangchong

feat: 应用中心

parent 3a88bdbf
...@@ -68,11 +68,11 @@ const handleLeftClick = () => { ...@@ -68,11 +68,11 @@ const handleLeftClick = () => {
} }
//保存 //保存
const handleRightClick = () => { const handleRightClick = () => {
navLeftType.value = 'icon'
if (homeMenuList.value.length > 0) { if (homeMenuList.value.length > 0) {
if (homeMenuList.value.length > 15) { if (homeMenuList.value.length > 15) {
uni.$mocpMessage.warning('最多设置15个首页菜单') uni.$mocpMessage.warning('最多设置15个首页菜单')
} else { } else {
navLeftType.value = 'icon'
isEdit.value = false isEdit.value = false
userStore.changeHomeMenuList(cloneDeep(homeMenuList.value)) userStore.changeHomeMenuList(cloneDeep(homeMenuList.value))
uni.$mocpMessage.success('保存菜单成功') uni.$mocpMessage.success('保存菜单成功')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment