Skip to content

Commit 7896d92

Browse files
author
hikki
committed
v3.1
1 parent afd4972 commit 7896d92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Widget/Linear.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function render()
4040
}
4141

4242
/**
43-
* 直接调用ComponentLine组件
43+
* 直接调用Linear组件
4444
* @param array $columns 头部字段样式定义
4545
* @param array $data 数据集
4646
* @param array $options 操作列设置 sortable可排序 delete可删除
@@ -51,7 +51,7 @@ public static function panel(array $columns,array $data,array $options=['sortabl
5151
$columns = json_encode($columns, JSON_UNESCAPED_UNICODE | JSON_HEX_QUOT | JSON_HEX_APOS);
5252
$data = json_encode($data, JSON_UNESCAPED_UNICODE | JSON_HEX_QUOT | JSON_HEX_APOS);
5353
$options = json_encode(array_merge(['sortable' => true, 'delete' => true],$options));
54-
$id = 'dot_'.mt_rand(0,100);
54+
$id = 'linear_'.mt_rand(0,100);
5555
return <<<EOF
5656
<div id="{$id}" style="$style_string"></div>
5757
<script>

0 commit comments

Comments
 (0)