This commit is contained in:
yumoqing 2020-12-21 19:32:53 +08:00
parent 5026669000
commit 1d4161e516

View File

@ -414,13 +414,11 @@ class Blocks(EventDispatcher):
d = self.getActionData(widget,desc) d = self.getActionData(widget,desc)
if d: if d:
p.update(d) p.update(d)
print('p=',p,'d=',d)
opts['params'] = p opts['params'] = p
d = { d = {
'widgettype' : 'urlwidget', 'widgettype' : 'urlwidget',
'options': opts 'options': opts
} }
print('desc=',d)
def doit(target,add_mode,o,w): def doit(target,add_mode,o,w):
if add_mode == 'replace': if add_mode == 'replace':