diff --git a/public/images/device/instance/button.png b/public/images/device/button.png similarity index 100% rename from public/images/device/instance/button.png rename to public/images/device/button.png 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 @@ + + + \ 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 @@ @@ -41,6 +41,7 @@