diff --git a/src/components/apass-dialog.vue b/src/components/apass-dialog.vue
index 60213d49e001132d6863abbc68d7d4fa13ba444d..53e7d8c6b71b47681305c18efa6b2fd887867d24 100644
--- a/src/components/apass-dialog.vue
+++ b/src/components/apass-dialog.vue
@@ -24,8 +24,8 @@ export default {
name: "dialog-action",
props: {
width: {
- type: [Number, String],
- default: () => 400,
+ type: String,
+ default: () => "400px",
},
title: {
type: String,
diff --git a/src/components/apass-list.vue b/src/components/apass-list.vue
index fa93b69ba33b94d5bad36fbf4df4679408562cc5..6c73ecd495e230b3b7e9e670403ea096a419b526 100644
--- a/src/components/apass-list.vue
+++ b/src/components/apass-list.vue
@@ -15,7 +15,7 @@
@@ -53,6 +53,10 @@ export default {
type: Boolean,
default: false,
},
+ searchPlaceholder: {
+ type: String,
+ default: "请输入关键字"
+ }
},
data: () => ({
searchFilter: "",
diff --git a/src/components/organization-list/organization-list.vue b/src/components/organization-list/organization-list.vue
index 9410d93d5e6132a001570799b2ce019609b31308..e98d86fbb76cf774302d9b9d984cd3410449a73f 100644
--- a/src/components/organization-list/organization-list.vue
+++ b/src/components/organization-list/organization-list.vue
@@ -42,18 +42,18 @@ export default {
},
mounted() {
this.pageResize();
- window.onresize = () => {
- this.pageResize();
- };
+ window.addEventListener("resize", this.pageResize);
+ },
+ destroyed() {
+ window.removeEventListener("resize", this.pageResize);
},
};
-
-
diff --git a/src/pages/authority/users.vue b/src/pages/authority/users.vue
index 92c7f29ed8caf60f1e2c319fc235ca990f57a581..3f3ff145bb394c1db6fa0a5d4aec52c3e1e0db8e 100644
--- a/src/pages/authority/users.vue
+++ b/src/pages/authority/users.vue
@@ -1,6 +1,10 @@
-
+
权限管理
用户管理
@@ -69,7 +73,7 @@
-
+