From 21daa9cd9a5168eea2a1ee3d367b2846b9967b8f Mon Sep 17 00:00:00 2001 From: Edward Yang Date: Thu, 30 Jun 2022 10:07:08 +0800 Subject: [PATCH] fixed columns --- plugins/BKStripe/columns.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/BKStripe/columns.php b/plugins/BKStripe/columns.php index 46ec91ff..c2d53ba6 100644 --- a/plugins/BKStripe/columns.php +++ b/plugins/BKStripe/columns.php @@ -14,11 +14,13 @@ return [ 'name' => 'api_key', 'label' => 'API Key', 'type' => 'string', + 'required' => true, ], [ 'name' => 'api_secret', 'label' => 'API Secret', 'type' => 'string', + 'required' => true, ], [ 'name' => 'description', @@ -29,11 +31,13 @@ return [ 'name' => 'country', 'label' => '国家', 'type' => 'select', - 'option' => ['China', 'USA'] + 'option' => ['China', 'USA'], + 'required' => true, ], [ 'name' => 'active', 'label' => '是否开启', 'type' => 'bool', + 'required' => true, ] ];