|
|
@ -46,6 +46,7 @@ const addAdmin = ref({ |
|
|
|
remark: '' |
|
|
|
}) |
|
|
|
const addMachineIdInput = function () { // 为啥>=1?????????????? |
|
|
|
// 因为需求写的是最多两个机器码,这个点击了添加后,可以写或者不写,也就是0和1,所以>=1 |
|
|
|
if (addAdmin.value.machineIds.length >= 1) { |
|
|
|
ElMessage.warning('设备数量已达上限') |
|
|
|
return |
|
|
@ -58,7 +59,7 @@ const permissionEditObj = ref({}) |
|
|
|
// 删除权限对象 |
|
|
|
const delObj = ref({}) |
|
|
|
|
|
|
|
// 搜索接口search |
|
|
|
// 搜索接口 |
|
|
|
const get = async function (val) { |
|
|
|
try { |
|
|
|
// 搜索参数页码赋值 |
|
|
|