Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit50f4055

Browse files
author
minjk-bl
committed
Add output variable to required area
1 parent98a9316 commit50f4055

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

‎visualpython/js/com/com_generatorV2.js‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,14 +134,17 @@ define([
134134
package.options&&package.options.forEach(function(o,i){
135135
varobj=JSON.parse(JSON.stringify(o));
136136
letnewTag=vp_createTag(pageThis,obj,state);
137-
if(obj.required){
137+
if(obj.required===true||obj.output===true){
138138
tblInput.append(newTag);
139139
}else{
140140
tblOption.append(newTag);
141141
}
142142
});
143143

144144
// TODO: userOption
145+
if(package.code.includes('${etc}')){
146+
147+
}
145148

146149
bindAutoComponentEvent(pageThis);
147150
}
@@ -163,7 +166,7 @@ define([
163166
letvalue=state[name];
164167

165168
varrequiredFontStyle=required==true?'vp-orange-text' :'';
166-
varlblTag=$(`<label>${label}</label>`).attr({
169+
varlblTag=$(`<label>${label}</label>`).attr({
167170
'for':name,
168171
'class':requiredFontStyle,
169172
'title':'('+name+')'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp