mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-15 14:03:36 +08:00
Merge branch 'main' into refactor/tailwindcss
This commit is contained in:
@@ -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}`;
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
>
|
||||
|
||||
@@ -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"
|
||||
>
|
||||
|
||||
@@ -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"
|
||||
>
|
||||
|
||||
@@ -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"
|
||||
>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user