mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 05:16:45 +08:00
-- 授课教师
This commit is contained in:
@@ -61,8 +61,8 @@
|
|||||||
<span style="margin-right: 3px">授课教师:</span>
|
<span style="margin-right: 3px">授课教师:</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="btnbox">
|
<div class="btnbox">
|
||||||
<a-auto-complete v-model:value="memberValue.label" placeholder="选择老师" style="width: 364px"
|
<a-auto-complete placeholder="选择老师" :value="memberValue.label" style="width: 364px"
|
||||||
:options="options" @search="handleSearch"></a-auto-complete>
|
:options="options" @change="handleChange2" @search="handleSearch"></a-auto-complete>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="main_item">
|
<div class="main_item">
|
||||||
@@ -675,6 +675,7 @@ export default {
|
|||||||
const handleChange2 = (value, label) => {
|
const handleChange2 = (value, label) => {
|
||||||
console.log(`selected ${value}`);
|
console.log(`selected ${value}`);
|
||||||
state.memberId = value;
|
state.memberId = value;
|
||||||
|
// console.log(label)
|
||||||
state.memberValue = label;
|
state.memberValue = label;
|
||||||
};
|
};
|
||||||
const handleFocus = () => {
|
const handleFocus = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user