diff --git a/src/views/demo/icons.vue b/src/views/demo/icons.vue
index 562da5d1..3527d757 100644
--- a/src/views/demo/icons.vue
+++ b/src/views/demo/icons.vue
@@ -122,15 +122,15 @@ const icons = ref(ElementPlusIconsVue);
const { text, isSupported, copy } = useClipboard();
-function generateIconCode(symbol) {
+function generateIconCode(symbol: any) {
return ``;
}
-function generateElementIconCode(symbol) {
+function generateElementIconCode(symbol: any) {
return `<${symbol} />`;
}
-function handleClipboard(text, event) {
+function handleClipboard(text: any, event: any) {
// clipboard(text, event);
copy(text)
.then(() => {
diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue
index 605512f5..eb2d9b97 100644
--- a/src/views/system/dept/index.vue
+++ b/src/views/system/dept/index.vue
@@ -66,7 +66,7 @@ async function getDeptOptions() {
listDeptOptions().then((response) => {
deptOptions.value = [
{
- value: 0,
+ value: "0",
label: "顶级部门",
children: response.data,
},
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index cfe1d673..49fd6a5f 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -93,7 +93,7 @@ function onRowClick(row: MenuVO) {
function openDialog(parentId?: number, menuId?: number) {
listMenuOptions()
.then(({ data }) => {
- menuOptions.value = [{ value: 0, label: "顶级菜单", children: data }];
+ menuOptions.value = [{ value: "0", label: "顶级菜单", children: data }];
})
.then(() => {
dialog.visible = true;