diff --git a/src/packages/components/Icons/Default/Icon/config.vue b/src/packages/components/Icons/Default/Icon/config.vue
index 961f6baa..a276816e 100644
--- a/src/packages/components/Icons/Default/Icon/config.vue
+++ b/src/packages/components/Icons/Default/Icon/config.vue
@@ -8,8 +8,8 @@
-
-
+
+
@@ -35,15 +35,15 @@ const rotateMode = [
label: '0°'
},
{
- value: 1,
+ value: 90,
label: '90°'
},
{
- value: 2,
+ value: 180,
label: '180°'
},
{
- value: 3,
+ value: 270,
label: '270°'
}
]
diff --git a/src/packages/components/Tables/Tables/TablesBasic/index.vue b/src/packages/components/Tables/Tables/TablesBasic/index.vue
index f3580744..02c9523f 100644
--- a/src/packages/components/Tables/Tables/TablesBasic/index.vue
+++ b/src/packages/components/Tables/Tables/TablesBasic/index.vue
@@ -36,6 +36,8 @@
import { computed, PropType, toRefs, watch, reactive, ref } from 'vue'
import { CreateComponentType } from '@/packages/index.d'
import { icon } from '@/plugins'
+import { useChartEditStore } from '@/store/modules/chartEditStore/chartEditStore'
+import { useChartDataFetch } from '@/hooks'
const props = defineProps({
chartConfig: {
@@ -83,6 +85,13 @@ watch(
deep: true
}
)
+
+// setdata 数据监听与更改
+useChartDataFetch(props.chartConfig, useChartEditStore, (newData: any) => {
+ props.chartConfig.option.dataset = newData
+})
+
+