Skip to content

Commit

Permalink
Merge pull request #2662 from emqx/dev/1.9.0
Browse files Browse the repository at this point in the history
Sync code from refs/heads/dev/1.9.0 to enterprise
  • Loading branch information
ysfscream authored May 15, 2024
2 parents f6fc86e + 7e26d24 commit 639c09e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/style/schemaForm.scss
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
}
}
.el-table {
width: 50%;
width: 70%;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/views/RuleEngine/components/FromSelect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</div>
</el-option>
</el-option-group>
<el-option-group
<!-- <el-option-group
v-if="bridgeOptions && bridgeOptions.length"
:key="tl('action')"
:label="tl('action')"
Expand All @@ -54,7 +54,7 @@
<span class="item-id">{{ item.idForRuleFrom }}</span>
</div>
</el-option>
</el-option-group>
</el-option-group> -->
</el-select>
</template>

Expand Down
32 changes: 23 additions & 9 deletions src/views/RuleEngine/components/MockDataDrawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,21 @@
{{ tl('dataSource') }}
<InfoTooltip :content="tl('dataSourceDesc')" />
</label>
<p v-if="isDataTypeNoMatchSQL" class="no-match-tip">
{{ tl('dataTypeSQLNoMatch') }}
</p>
<FromSelect
v-model="dataType"
:ingress-bridge-list="ingressBridgeList"
:event-list="eventList"
for-test
/>
<el-row :gutter="26">
<el-col :span="12">
<FromSelect
v-model="dataType"
:ingress-bridge-list="ingressBridgeList"
:event-list="eventList"
for-test
/>
</el-col>
<el-col :span="12" v-if="isDataTypeNoMatchSQL">
<p class="no-match-tip">
{{ tl('dataTypeSQLNoMatch') }}
</p>
</el-col>
</el-row>
</div>
<div>
<label class="test-label">
Expand Down Expand Up @@ -111,5 +117,13 @@ const submit = () => {
.test-sql-context-form {
margin-top: 12px;
}
.test-header {
.from-select {
width: 100%;
}
.no-match-tip {
position: static;
}
}
}
</style>

0 comments on commit 639c09e

Please sign in to comment.