@@ -201,6 +200,13 @@ const handleClick = () => {
margin-right: 16px;
}
+ .card-item-body {
+ display: flex;
+ flex-direction: column;
+ flex-grow: 1;
+ width: 0;
+ }
+
.card-state {
position: absolute;
top: 30px;
diff --git a/src/components/Table/index.tsx b/src/components/Table/index.tsx
index 774b95b8..232cc992 100644
--- a/src/components/Table/index.tsx
+++ b/src/components/Table/index.tsx
@@ -207,6 +207,7 @@ const JTable = defineComponent
({
_dataSource.value = []
}
} else {
+ console.log(props?.dataSource)
_dataSource.value = props?.dataSource || []
}
loading.value = false
@@ -220,6 +221,16 @@ const JTable = defineComponent({
{deep: true, immediate: true}
)
+ watch(
+ () => props.dataSource,
+ (newValue) => {
+ if(props.dataSource){
+ handleSearch(props.params)
+ }
+ },
+ {deep: true, immediate: true}
+ )
+
onMounted(() => {
window.onresize = () => {
windowChange()
diff --git a/src/views/device/Instance/Detail/Running/index.vue b/src/views/device/Instance/Detail/Running/index.vue
new file mode 100644
index 00000000..e2e39b8a
--- /dev/null
+++ b/src/views/device/Instance/Detail/Running/index.vue
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+ 123
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/device/Instance/Detail/index.vue b/src/views/device/Instance/Detail/index.vue
index d9f2f0e5..02bd7026 100644
--- a/src/views/device/Instance/Detail/index.vue
+++ b/src/views/device/Instance/Detail/index.vue
@@ -32,7 +32,7 @@