编辑代码

type user() =
    member userList = ["没想好"; "我是敖丙"; "Wi-Fi Bady"; "请输入文本"]
let appUser = new user()
let error, user =
    if inputUser = appUser.userList[0] then 0
    elif inputUser = appUser.userList[1] then 1
    elif inputUser = appUser.userList[2] then 2
    elif inputUser = appUser.userList[3] then 3
    else "用户不存在"