|
@@ -53,7 +53,7 @@ watch(currentParamType, (newVal) => {
|
|
|
behavior: 'smooth',
|
|
|
});
|
|
|
} else {
|
|
|
- const otherEl = document.querySelector('.ai-advanced-param-other');
|
|
|
+ const otherEl = document.querySelector('.ai-advanced-param-other + .ant-col .ant-form-item-label');
|
|
|
|
|
|
otherEl?.scrollIntoView({
|
|
|
behavior: 'smooth',
|
|
@@ -62,7 +62,7 @@ watch(currentParamType, (newVal) => {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
-const { handleRequest } = useRequest();
|
|
|
+const { isLoading, handleRequest } = useRequest();
|
|
|
const paramList = ref<AIAdvancedParamItem[]>([]);
|
|
|
let settingsTimer: number | undefined;
|
|
|
|
|
@@ -132,6 +132,7 @@ const updateDeviceData = (deviceId: number, paramCode: string, value?: string |
|
|
|
</template>
|
|
|
</ARow>
|
|
|
</AForm>
|
|
|
+ <ASpin v-if="isLoading" class="center-loading" :spinning="true" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -198,6 +199,10 @@ const updateDeviceData = (deviceId: number, paramCode: string, value?: string |
|
|
|
.ant-select-arrow {
|
|
|
color: #8c94a8;
|
|
|
}
|
|
|
+
|
|
|
+ &.ant-select-single.ant-select-open .ant-select-selection-item {
|
|
|
+ color: rgb(255 255 255 / 25%);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</style>
|