feat:web List support scrollable

This commit is contained in:
wangxiangyuan 2023-08-28 12:45:39 +08:00 committed by osborn
parent 0c83159523
commit 44ba80bc90
3 changed files with 7 additions and 1 deletions

View File

@ -7636,6 +7636,9 @@ var doric_web = (function (exports, axios, sandbox) {
case "loadMore": case "loadMore":
this.loadMore = prop; this.loadMore = prop;
break; break;
case 'scrollable':
v.style.overflow = prop ? 'scroll' : 'hidden';
break;
default: default:
super.blendProps(v, propName, prop); super.blendProps(v, propName, prop);
break; break;

File diff suppressed because one or more lines are too long

View File

@ -31,6 +31,9 @@ export class DoricListNode extends DoricSuperNode {
case "loadMore": case "loadMore":
this.loadMore = prop as boolean this.loadMore = prop as boolean
break break
case 'scrollable':
v.style.overflow = prop ? 'scroll' : 'hidden'
break
default: default:
super.blendProps(v, propName, prop) super.blendProps(v, propName, prop)
break break