增加了对oak:value子组件的编译处理
This commit is contained in:
parent
a73d9557f0
commit
8d7b2dd141
|
|
@ -98,6 +98,9 @@ module.exports = function (content) {
|
|||
node.removeAttribute('oak:value');
|
||||
node.setAttribute('value', `{{${oakValue}}}`);
|
||||
node.setAttribute('data-attr', oakValue);
|
||||
node.setAttribute('oakPath', oakValue);
|
||||
node.setAttribute('oakValue', `{{${oakValue}}}`);
|
||||
node.setAttribute('oakParent', `{{oakFullpath}}`);
|
||||
|
||||
if (node.hasAttribute('oak:forbidFocus')) {
|
||||
node.removeAttribute('oak:forbidFocus');
|
||||
|
|
|
|||
Loading…
Reference in New Issue