删除没用代码

This commit is contained in:
不做码农 2022-04-26 18:32:48 +08:00
parent 665291c2d4
commit 2e8391bfc7
2 changed files with 2 additions and 9 deletions

View File

@ -169,7 +169,7 @@
<script setup name="role">
import { listRole, getRole, delRole, addRole, updateRole, exportRole, dataScope, changeRoleStatus } from '@/api/system/role'
import { treeselect as menuTreeselect, roleMenuTreeselect } from '@/api/system/menu'
import { roleMenuTreeselect } from '@/api/system/menu'
import { treeselect as deptTreeselect, roleDeptTreeselect } from '@/api/system/dept'
const { proxy } = getCurrentInstance()
@ -270,13 +270,6 @@ function getList() {
})
}
/** 查询菜单树结构 */
// function getMenuTreeselect() {
// menuTreeselect().then((response) => {
// menuOptions.value = response.data
// })
// }
/** 查询部门树结构 */
function getDeptTreeselect() {
deptTreeselect().then((response) => {

View File

@ -86,7 +86,7 @@
<el-option label="日期控件" value="datetime" />
<el-option label="图片上传" value="imageUpload" />
<el-option label="文件上传" value="fileUpload" />
<el-option label="富文本控件" value="editor" />
<!-- <el-option label="富文本控件" value="editor" /> -->
<el-option label="自定义输入框" value="customInput" />
</el-select>
</template>