cc12458 1 год назад
Родитель
Сommit
c032c46a82

+ 11 - 2
src/components/selectTable/selectOutTable.vue

@@ -250,8 +250,17 @@ export default {
 	}
 }
 </script>
-
+<style lang="scss" scoped>
+.select-table {
+  width: 100%;
+  td {
+    &:first-of-type {
+      width: 250px;
+    }
+  }
+}
+</style>
 <style scoped>
 .el-table >>> tr.row-disabled { cursor: not-allowed; color: #999; background: #eee; }
 .select-table-head { background-color: #17C7B1; color: #fff; }
-</style>
+</style>

+ 10 - 2
src/components/selectTable/selectTable.vue

@@ -152,6 +152,14 @@ export default {
 }
 </script>
 
-<style scoped>
+<style lang="scss" scoped>
+.select-table {
+  width: 100%;
+  td {
+    &:first-of-type {
+      width: 250px;
+    }
+  }
+}
 .select-table-head { background-color: #17C7B1; color: #fff; }
-</style>
+</style>