gaoluyang
14 小时以前 ba389833f9fbb043c3fa2df5aac8ed00d899e0fb
src/pages/login.vue
@@ -12,17 +12,6 @@
         <view class="input-item flex align-center">
            <up-input prefixIcon="lock" placeholder="请输入密码" border="bottom" maxlength="20" v-model="loginForm.password" clearable type="password"></up-input>
         </view>
         <view class="input-item flex align-center select-container">
            <up-icon name="tags" size="18"></up-icon>
            <up-picker-data
               v-model="loginForm.factoryId"
               title="请选择公司"
               :options="factoryList"
               valueKey="id"
               style="width: 100%;"
               labelKey="name">
            </up-picker-data>
         </view>
         <view>
            <button @click="handleLogin" class="login-btn cu-btn block bg-blue lg round">登录</button>
         </view>
@@ -63,7 +52,6 @@
const loginForm = ref({
   userName: "",
   password: "",
   factoryId: "",
   currentFatoryName: "",
});
const factoryList = ref([]) // 公司列表