mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 05:46:45 +08:00
新增讲师优化
This commit is contained in:
@@ -93,13 +93,15 @@ const props = defineProps({
|
|||||||
})
|
})
|
||||||
const emit = defineEmits(['update:value','update:lable','update:system','update:level','update:newlable'])
|
const emit = defineEmits(['update:value','update:lable','update:system','update:level','update:newlable'])
|
||||||
const visible = ref(false);
|
const visible = ref(false);
|
||||||
|
const selectData = ref(null);
|
||||||
watch(()=>props.value,(val)=>{
|
watch(()=>props.value,(val)=>{
|
||||||
if(val){
|
if(val){
|
||||||
selectData.value = val
|
selectData.value = val
|
||||||
|
}else{
|
||||||
|
selectData.value = null
|
||||||
}
|
}
|
||||||
})
|
},{immediate:true})
|
||||||
const teacherName = ref('')
|
const teacherName = ref('')
|
||||||
const selectData = ref(null);
|
|
||||||
const selectName = ref(null)
|
const selectName = ref(null)
|
||||||
const options = ref([]);
|
const options = ref([]);
|
||||||
const selectOptions = ref([])
|
const selectOptions = ref([])
|
||||||
@@ -239,7 +241,7 @@ watch(()=>visible.value,(val)=>{
|
|||||||
levelName.value = ''
|
levelName.value = ''
|
||||||
neworgName.value=''
|
neworgName.value=''
|
||||||
selectName.value = null
|
selectName.value = null
|
||||||
selectData.value = ''
|
// selectData.value = ''
|
||||||
teacherId.value = ''
|
teacherId.value = ''
|
||||||
loadingChange.value = false
|
loadingChange.value = false
|
||||||
// changeneworg()
|
// changeneworg()
|
||||||
|
|||||||
Reference in New Issue
Block a user