解决冲突
This commit is contained in:
@@ -64,11 +64,16 @@ StepViewer.supportedTypes = ["binary"];
|
||||
StepViewer.props = {
|
||||
...standardFieldProps,
|
||||
url: {type: String, optional: true},
|
||||
isInList: {type: Boolean, optional: true},
|
||||
};
|
||||
|
||||
StepViewer.extractProps = ({attrs}) => {
|
||||
const modifiedAttrs = JSON.parse(attrs.modifiers || '{}');
|
||||
|
||||
|
||||
return {
|
||||
url: attrs.options.url,
|
||||
isInList: modifiedAttrs.isInList,
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user