Selaa lähdekoodia

feat(lib/option): 增加新的选项类型 Slist(字符串列表)

dzp 2 vuotta sitten
vanhempi
sitoutus
21d9222cb3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      plugins/lib/option.tin

+ 1 - 1
plugins/lib/option.tin

@@ -269,7 +269,7 @@ load-lib storage;
     #local type     {%2};
     #local value    {%3};
 
-    #local types {Bool|String|Number};
+    #local types {Bool|String|Slist|Number};
     #if { "$type" != "{$types}" } {
         errLog 不能识别的选项类型: 「$type」,目前仅支持选项类型:{$types};
         #return;