dever %!s(int64=5) %!d(string=hai) anos
pai
achega
83377f56ad
Modificáronse 2 ficheiros con 9 adicións e 2 borrados
  1. 2 2
      database/role.php
  2. 7 0
      src/Database.php

+ 2 - 2
database/role.php

@@ -281,9 +281,9 @@ $config = array
 		'top'		=> array
 		(
 			'type' 		=> 'text-255',
-			'name' 		=> '右侧头部菜单',
+			'name' 		=> '头部菜单',
 			'default' 	=> '',
-			'desc' 		=> '请选择右侧头部菜单',
+			'desc' 		=> '请选择头部菜单',
 			'match' 	=> 'option',
 			'update'	=> 'checkbox',
 			'option'	=> $top,

+ 7 - 0
src/Database.php

@@ -1189,6 +1189,13 @@ class Database
 
         //print_r($result);die;
 
+        $oper = Dever::preInput('oper_');
+        if ($oper) {
+            foreach ($oper as $k => $v) {
+                $result .= '<input type="hidden" value="'.$v.'" name="'.$k.'" id="'.$k.'" />';
+            }
+        }
+
         return $result;
     }