Browse Source

菜单编辑模块提示语优化&布局调整

wanghao 4 months ago
parent
commit
a2a7be38b0
1 changed files with 12 additions and 5 deletions
  1. 12 5
      src/views/manage/menu/modules/menu-operate-modal.vue

+ 12 - 5
src/views/manage/menu/modules/menu-operate-modal.vue

@@ -314,7 +314,7 @@ watch(visible, () => {
                 <template #label>
                   <span class="marginRight5">{{$t('page.manage.menu.menuName')}}</span>
                   <ATooltip>
-                    <template #title>包含目录:以及菜单或者菜单组,菜单:具体对应某一个页面,按钮:功能才做按钮.</template>
+                    <template #title>菜单位置显示的说明信息.</template>
                     <QuestionCircleFilled />
                   </ATooltip>
                 </template>
@@ -369,7 +369,7 @@ watch(visible, () => {
                 <template #label>
                   <span class="marginRight5">{{ $t('page.manage.menu.routePath') }}</span>
                   <ATooltip>
-                    <template #title>菜单对应的具体vue页面文件路径views的下级路径/admin/sys-api/index;目录类型:填写Layout,如何有二级目录请参照日志目录填写;</template>
+                    <template #title>菜单对应的具体vue页面文件路径;</template>
                     <QuestionCircleFilled />
                   </ATooltip>
                 </template>
@@ -382,8 +382,8 @@ watch(visible, () => {
                 <AInput v-model:value="model.path" placeholder="请输入路由地址" allowClear/>
               </AFormItem>
             </ACol>
-            <ACol :lg="12" :xs="24">
-              <AFormItem v-if="showLayout" :label="$t('page.manage.menu.layout')" name="layout">
+            <ACol :lg="12" :xs="24"  v-if="showLayout">
+              <AFormItem :label="$t('page.manage.menu.layout')" name="layout">
                 <ASelect
                   v-model:value="model.layout"
                   :options="layoutOptions"
@@ -426,7 +426,14 @@ watch(visible, () => {
               </AFormItem>
             </ACol>
             <ACol :lg="12" :xs="24">
-              <AFormItem :label="$t('page.manage.menu.menuStatus')" name="visible">
+              <AFormItem name="visible">
+                <template #label>
+                  <span class="marginRight5">{{$t('page.manage.menu.menuStatus') }}</span>
+                  <ATooltip>
+                    <template #title>需要显示在菜单列表的菜单设置为显示,否则设置为隐藏;</template>
+                    <QuestionCircleFilled />
+                  </ATooltip>
+                </template>
                 <ARadioGroup v-model:value="model.visible">
                   <ARadio v-for="item in visibleOptions" :key="item.value" :value="item.value">
                     {{ item.label }}