File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/common/component Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2323 <tiny-input
2424 v-model =" slot.params"
2525 class =" use-slot-params"
26- @change =" validParams(index, paramsPropPath(index), slot)"
26+ @change =" validParams(paramsPropPath(index), slot)"
2727 ></tiny-input >
2828 </tiny-form-item >
2929 </div >
@@ -95,7 +95,7 @@ export default {
9595 const updateSlotParams = (slotData ) => {
9696 emit (' update:modelValue' , slotData)
9797
98- // 更新当前选中组件的根属性,不根新在jsslot中的数据非响应式
98+ // 更新当前选中组件的根属性,不更新在jsslot中的数据非响应式
9999 const [propsName ] = path .split (' .' )
100100 const schema = useProperties ().getSchema ()
101101 schema .props [propsName] = JSON .parse (JSON .stringify (schema .props [propsName]))
@@ -155,7 +155,7 @@ export default {
155155 updateSlotParams ({ ... (props .modelValue || {}), ... slotInfo })
156156 }
157157
158- const validParams = (idx , paramsPath , slot ) => {
158+ const validParams = (paramsPath , slot ) => {
159159 slotRef .value .validateField ([paramsPath], (error ) => {
160160 if (! error) {
161161 slot .bind && setSlotParams (slot)
You can’t perform that action at this time.
0 commit comments