From 1e78fbfb63e192c5284b19bba161ea12e80a7d92 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期四, 04 七月 2024 16:30:04 +0800 Subject: [PATCH] 测试完成 --- src/views/patient/patient/profile/index.vue | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/views/patient/patient/profile/index.vue b/src/views/patient/patient/profile/index.vue index 2f08635..b849b6e 100644 --- a/src/views/patient/patient/profile/index.vue +++ b/src/views/patient/patient/profile/index.vue @@ -145,7 +145,7 @@ <el-col :span="24" ><div class="xinz-inf"> <el-tag - :key="tag.tagid" + :key="tag.tagname" type="success" v-for="tag in dynamicTags" closable @@ -155,16 +155,13 @@ {{ tag.tagname }} </el-tag> <el-select - v-model="inputValue" v-if="inputVisible" + v-model="inputValue" @change="handleInputConfirm" - :remote-method="remoteMethod" - remote filterable allow-create default-first-option placeholder="璇烽�夋嫨/鏌ヨ" - :loading="loading" > <el-option v-for="item in options" @@ -950,6 +947,7 @@ }; listtag(tagqueryParams).then((response) => { this.options = response.rows; + console.log(this.options, "鏍囩"); }); }, remoteMethod(value) { @@ -975,9 +973,7 @@ showInput() { this.inputVisible = true; - // this.$nextTick((_) => { - // this.$refs.saveTagInput.$refs.input.focus(); - // }); + console.log("灞曠ず"); }, handleInputConfirm() { @@ -1006,6 +1002,7 @@ console.log(this.dynamicTags); }); } + console.log("鍏充簡"); this.inputVisible = false; this.inputValue = ""; }, -- Gitblit v1.9.3