tools
This commit is contained in:
+4
-2
@@ -377,10 +377,11 @@ class="layui-input" style="height: 25px; width:80px;margin-top: 6px">
|
|||||||
, color: '%s' //设置默认色
|
, color: '%s' //设置默认色
|
||||||
, size: "xs"
|
, size: "xs"
|
||||||
, format: '%s'
|
, format: '%s'
|
||||||
, done: function (color) {
|
, change: function (color) {
|
||||||
var %s = color
|
%s = color
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
""" % (i, random_color(), fl, i)
|
""" % (i, random_color(), fl, i)
|
||||||
@@ -471,3 +472,4 @@ class Basics(object):
|
|||||||
f.write(data)
|
f.write(data)
|
||||||
|
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ def chart_run(request, get_chart_sort):
|
|||||||
# file_path 输入文件的路径 file
|
# file_path 输入文件的路径 file
|
||||||
# chart 展示图片的路径
|
# chart 展示图片的路径
|
||||||
# out_path 输出文件的路径
|
# out_path 输出文件的路径
|
||||||
|
print(data)
|
||||||
|
|
||||||
eval(f'charts.{chart_name}')(file_path[0], f"{chart_out_path}_{k}.png", out_path, **data)
|
eval(f'charts.{chart_name}')(file_path[0], f"{chart_out_path}_{k}.png", out_path, **data)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user