mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
聚焦
This commit is contained in:
@@ -266,7 +266,7 @@
|
||||
</div>
|
||||
<a-form ref="formRef" :model="formState" :rules="rules" :label-col="{ span: 5 }">
|
||||
<a-form-item label="推荐组织:" name="name">
|
||||
<a-input v-model:value="formState.name" />
|
||||
<a-input ref="orgName" v-model:value="formState.name" />
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
</div>
|
||||
@@ -310,7 +310,7 @@
|
||||
</template>
|
||||
<script setup>
|
||||
import { message } from "ant-design-vue";
|
||||
import { computed, defineEmits, defineProps, ref, watch, onMounted, reactive } from "vue";
|
||||
import { computed, defineEmits, defineProps, ref, watch, onMounted, reactive, nextTick } from "vue";
|
||||
import { boeRequest, useBoeApi, useBoeApiPage, useBoeApiUserInfoPage, useBoeApiAuditPage } from "@/api/request";
|
||||
import {
|
||||
ORG_CHILD_LIST,
|
||||
@@ -719,8 +719,11 @@ const resetAudienceInfo = () => {
|
||||
};
|
||||
|
||||
//推荐按钮
|
||||
const submitAuth = () => {
|
||||
const orgName = ref()
|
||||
const submitAuth = async () => {
|
||||
state.recBtnvisible = true
|
||||
await nextTick()
|
||||
orgName.value.focus();
|
||||
};
|
||||
const handleOk = () => {
|
||||
formRef.value.validate().then(() => {
|
||||
|
||||
Reference in New Issue
Block a user