+如何全局配置一个 amis 的组件
+
+在 config 的 amis 中 components 中添加以下配置
+
+return [
+ // ... 其他配置
+ /*
+ * 用于全局替换组件的默认参数
+ * @see Component::$config
+ */
+ 'components' => [
+ // 例如: 将列表页的字段默认左显示
+ /*\WebmanTech\AmisAdmin\Amis\GridColumn::class => [
+ 'schema' => [
+ 'align' => 'left',
+ ],
+ ],*/
+ // typeXxx,xxx 未 amis 的组件 type,通过 schema 会全局注入到每个 type 组件
+ 'typeImage' => [
+ 'schema' => [
+ 'enlargeAble' => true,
+ ],
+ ],
+ ],
+];
+
\ No newline at end of file
diff --git a/phpunit.xml b/phpunit.xml
new file mode 100644
index 0000000..1b5690f
--- /dev/null
+++ b/phpunit.xml
@@ -0,0 +1,18 @@
+
+