Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
更新插件示例
Browse files Browse the repository at this point in the history
更新README
  • Loading branch information
twoone3 committed Jul 1, 2022
1 parent 5a9442f commit d0a524a
Show file tree
Hide file tree
Showing 4 changed files with 155 additions and 158 deletions.
2 changes: 1 addition & 1 deletion Example/_form.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def addDropdown(self, text, options):
j["options"] = options
self.content.append(j)

def addSlider(self, text, pmin, pmax, step, default):
def addSlider(self, text, pmin, pmax, step=1, default=0):
'''添加滑块'''
j = {}
j["type"] = "slider"
Expand Down
Loading

0 comments on commit d0a524a

Please sign in to comment.