dever hace 7 años
padre
commit
03737f9d6a
Se han modificado 1 ficheros con 32 adiciones y 0 borrados
  1. 32 0
      database/info.php

+ 32 - 0
database/info.php

@@ -11,6 +11,38 @@ $cate = function()
 	return $array;
 };
 
+/*
+使用该组件,这么用
+$attr = function()
+{
+	$auth = Dever::load('attr/api.get', false);
+	return $auth;
+};
+
+'attr'		=> array
+(
+	'type' 		=> 'varchar-800',
+	'name' 		=> '属性设置',
+	'default' 	=> '',
+	'desc' 		=> '属性设置',
+	'match' 	=> 'option',
+	'update'	=> 'checkbox',
+	'option'	=> $attr,
+	'update_input' => '',
+	'update_input_default' => '',
+	'update_parent' => 'checkbox',
+),
+
+'attr_input'		=> array
+(
+	'type' 		=> 'text-255',
+	'name' 		=> '属性值设置',
+	'default' 	=> '',
+	'desc' 		=> '属性值设置',
+	'match' 	=> 'option',
+),
+*/
+
 return array
 (
 	# 表名