fix(Perm.vue): 修复ts类型警告
Former-commit-id: 816e54e3743decead1ce4a92578b8de2ef1aefda
This commit is contained in:
@@ -92,7 +92,7 @@ const state = reactive({
|
|||||||
|
|
||||||
const { permissionOptions, isIndeterminate, checkAll } = toRefs(state);
|
const { permissionOptions, isIndeterminate, checkAll } = toRefs(state);
|
||||||
|
|
||||||
function handleCheckAllChange(checked: boolean) {
|
function handleCheckAllChange(checked: any) {
|
||||||
state.isIndeterminate = false;
|
state.isIndeterminate = false;
|
||||||
if (checked) {
|
if (checked) {
|
||||||
state.permissionOptions.map(item => (item.checked = true));
|
state.permissionOptions.map(item => (item.checked = true));
|
||||||
|
|||||||
Reference in New Issue
Block a user