Merge branch 'main' into refactor/tailwindcss

This commit is contained in:
xiaoxian521
2025-04-08 15:12:56 +08:00
9 changed files with 31 additions and 25 deletions

View File

@@ -14,7 +14,7 @@ function randomColor() {
return COLORS[getRandomNum(0, 4)];
}
const website = "https://www.getphotoblanket.com";
const website = "https://wanderprints.com";
export const getList = ({ page = 1, pageSize = 20 }) => {
const url = `${website}/products.json?page=${page}&limit=${pageSize}`;

View File

@@ -110,7 +110,7 @@ const handleManageProduct = product => {
<el-icon class="el-input__icon">
<IconifyIconOffline
v-show="searchValue.length === 0"
icon="ri:search-line"
icon="ri/search-line"
/>
</el-icon>
</template>

View File

@@ -63,7 +63,7 @@ function onFullscreen() {
<el-form-item>
<el-button
type="primary"
:icon="useRenderIcon('ri:search-line')"
:icon="useRenderIcon('ri/search-line')"
:loading="loading"
@click="onSearch"
>

View File

@@ -53,7 +53,7 @@ function onFullscreen() {
<el-form-item>
<el-button
type="primary"
:icon="useRenderIcon('ri:search-line')"
:icon="useRenderIcon('ri/search-line')"
:loading="loading"
@click="onSearch"
>

View File

@@ -128,7 +128,7 @@ onMounted(() => {
<el-form-item>
<el-button
type="primary"
:icon="useRenderIcon('ri:search-line')"
:icon="useRenderIcon('ri/search-line')"
:loading="loading"
@click="onSearch"
>

View File

@@ -98,7 +98,7 @@ const {
<el-form-item>
<el-button
type="primary"
:icon="useRenderIcon('ri:search-line')"
:icon="useRenderIcon('ri/search-line')"
:loading="loading"
@click="onSearch"
>

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { toRef } from "vue";
import { Handle, useHandleConnections } from "@vue-flow/core";
import { Handle, useNodeConnections } from "@vue-flow/core";
const props = defineProps({
data: {
@@ -15,12 +15,12 @@ const props = defineProps({
}
});
const sourceConnections = useHandleConnections({
type: "target"
const sourceConnections = useNodeConnections({
handleType: "target"
});
const targetConnections = useHandleConnections({
type: "source"
const targetConnections = useNodeConnections({
handleType: "source"
});
const isSender = toRef(() => sourceConnections.value.length <= 0);