This commit is contained in:
xiaojunnuo
2024-10-28 21:55:37 +08:00
parent 5c992c3214
commit e626367a06
7 changed files with 22 additions and 11 deletions
@@ -2,7 +2,7 @@ import { request } from "/@/api/service";
export type ComponentPropsType = {
type: string;
typeName: string;
action: string;
action?: string;
form: any;
value?: any;
};
@@ -1,7 +1,7 @@
<template>
<div>
<contextHolder />
<a-input :value="value" :allow-clear="true" v-bind="attrs" @update:value="emit('update:value', $event)">
<a-input v-bind="attrs" :value="value" :allow-clear="true" @update:value="emit('update:value', $event)">
<template #suffix>
<a-tag class="cursor-pointer" @click="getDeviceId">获取设备ID</a-tag>
</template>