feat:web List support scrollable
This commit is contained in:
parent
0c83159523
commit
44ba80bc90
3
doric-web/dist/index.js
vendored
3
doric-web/dist/index.js
vendored
@ -7636,6 +7636,9 @@ var doric_web = (function (exports, axios, sandbox) {
|
||||
case "loadMore":
|
||||
this.loadMore = prop;
|
||||
break;
|
||||
case 'scrollable':
|
||||
v.style.overflow = prop ? 'scroll' : 'hidden';
|
||||
break;
|
||||
default:
|
||||
super.blendProps(v, propName, prop);
|
||||
break;
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -31,6 +31,9 @@ export class DoricListNode extends DoricSuperNode {
|
||||
case "loadMore":
|
||||
this.loadMore = prop as boolean
|
||||
break
|
||||
case 'scrollable':
|
||||
v.style.overflow = prop ? 'scroll' : 'hidden'
|
||||
break
|
||||
default:
|
||||
super.blendProps(v, propName, prop)
|
||||
break
|
||||
|
Reference in New Issue
Block a user