el-select下拉框的使用

【el-select下拉框的使用】el-select下拉框的使用
文章图片
el-select下拉框的使用
文章图片

el-select下拉框的使用
文章图片

el-select下拉框的使用
文章图片

const getters = { sidebar: state => state.app.sidebar, token: state => state.user.token, userInfo: state => state.user.userInfo, username: state => state.user.userInfo.username, menuList: state => state.user.menuList, deptList: state => state.user.deptList, deptListLogin: state => state.user.deptListLogin, deviceTypeList: state => state?.user?.deviceTypeList, oriDeptList: state => state.user.oriDeptList, permissions: state => state.user.permissions, configList: state => state.user.configList, title: state => state.app.title, logo: state => state.app.logo, version: state => state.app.version, permission_routes: state => state.permission.routes, avatar: state => state.user.avatar, device: state => state.app.device } export default getters

import { login, getInfo, getMenuList, getConfigList, getDeptList, getDeptListLogin, getDeviceType } from '@a/common.js'

const actions = { // 设备 getConfigList({ commit }) { return new Promise((resolve, reject) => { getConfigList().then(response => { const { result } = response // console.log(result) if (!result) { reject(response.msg) } commit('SET_CONFIGLIST', result) resolve() }) .catch(error => { reject(error) }) }) }, }

    推荐阅读