From 58a28e1faa15f638a136fefdcfcd0b3106c1fa16 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 24 六月 2020 10:18:54 +0800
Subject: [PATCH] 2020-06-24

---
 src/templates/headerconfig/menuform/index.jsx |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/src/templates/headerconfig/menuform/index.jsx b/src/templates/headerconfig/menuform/index.jsx
index d8f40cd..88760c9 100644
--- a/src/templates/headerconfig/menuform/index.jsx
+++ b/src/templates/headerconfig/menuform/index.jsx
@@ -17,7 +17,7 @@
       {
         type: 'text',
         key: 'menuName',
-        label: this.props.dict['header.menu.menuName'],
+        label: this.props.dict['model.menu'] + this.props.dict['model.name'],
         initVal: '',
         required: true,
         readonly: false
@@ -25,28 +25,25 @@
       {
         type: 'select',
         key: 'openType',
-        label: this.props.dict['header.menu.openType'],
+        label: this.props.dict['model.openway'],
         initVal: 'menu',
         required: true,
         options: [{
           id: 'menu',
-          text: this.props.dict['header.menu.openType.menu']
-        }, {
-          id: 'newpage',
-          text: this.props.dict['header.menu.openType.newWindow']
+          text: this.props.dict['model.menu']
+        // }, {
+        //   id: 'newpage',
+        //   text: this.props.dict['model.new'] + this.props.dict['model.window']
         }]
       },
       {
         type: 'select',
         key: 'linkUrl',
         hidden: true,
-        label: this.props.dict['header.menu.openType.newWindow'],
+        label: this.props.dict['model.new'] + this.props.dict['model.window'],
         initVal: 'service',
         required: true,
-        options: [{
-          id: 'service',
-          text: this.props.dict['header.menu.newpage.service']
-        }]
+        options: []
       }
     ]
   }

--
Gitblit v1.8.0