Skip to content

Commit f2e26f8

Browse files
committed
优化界面显示
1 parent f3e259e commit f2e26f8

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

spring-cloud-gray-webui/src/views/gray-instance/complex-table.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
</div>
158158
</el-dialog>
159159

160-
<el-dialog :title="grayInfo.type" :visible.sync="grayInfo.dialogVisible" :loading="grayInfo.loading">
160+
<el-dialog custom-class="el-dialog-cus" :title="grayInfo.type" :visible.sync="grayInfo.dialogVisible" :loading="grayInfo.loading">
161161
<pre>{{ grayInfo.content }}</pre>
162162
<div slot="footer" class="dialog-footer">
163163
<el-button @click="grayInfo.dialogVisible = false">
@@ -488,4 +488,7 @@ export default {
488488
.list-button {
489489
margin-top: 5px;
490490
}
491+
.el-dialog-cus{
492+
width: 80%;
493+
}
491494
</style>

spring-cloud-gray-webui/src/views/gray-instance/discovery-instances.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
</el-table-column>
8282
</el-table>
8383

84-
<el-dialog :title="grayInfo.type" :visible.sync="grayInfo.dialogVisible" :loading="grayInfo.loading">
84+
<el-dialog custom-class="el-dialog-cus" :title="grayInfo.type" :visible.sync="grayInfo.dialogVisible" :loading="grayInfo.loading">
8585
<pre>{{ grayInfo.content }}</pre>
8686
<div slot="footer" class="dialog-footer">
8787
<el-button @click="grayInfo.dialogVisible = false">
@@ -292,3 +292,9 @@ export default {
292292
}
293293
}
294294
</script>
295+
296+
<style>
297+
.el-dialog-cus{
298+
width: 80%;
299+
}
300+
</style>

0 commit comments

Comments
 (0)