zhouwx
2024-07-29 b4698317fb97d89e389f131e8fd9dcf8d7108c77
src/views/onlineEducation/questionBankManagement/components/questionBankDialog.vue
@@ -168,13 +168,13 @@
}
const onSubmit = async () => {
  if(state.isAdmin){
    ElMessage({
      type: 'warning',
      message: '管理员暂无权限'
    });
    return;
  }
  // if(state.isAdmin){
  //   ElMessage({
  //     type: 'warning',
  //     message: '管理员暂无权限'
  //   });
  //   return;
  // }
  const valid = await busRef.value.validate();
  if(valid){
    if(title.value === '新增'){