-
-
diff --git a/src/components/ReSeamlessScroll/src/utils.ts b/src/components/ReSeamlessScroll/src/utils.ts
index 52178c73c..021a65d18 100644
--- a/src/components/ReSeamlessScroll/src/utils.ts
+++ b/src/components/ReSeamlessScroll/src/utils.ts
@@ -2,7 +2,7 @@
* @desc AnimationFrame简单兼容hack
*/
export const animationFrame = () => {
- window.cancelAnimationFrame = (function () {
+ window.cancelAnimationFrame = (() => {
return (
window.cancelAnimationFrame ||
window.webkitCancelAnimationFrame ||
diff --git a/src/components/ReSelector/src/index.tsx b/src/components/ReSelector/src/index.tsx
index 32f5dd78b..e8d3d7d39 100644
--- a/src/components/ReSelector/src/index.tsx
+++ b/src/components/ReSelector/src/index.tsx
@@ -21,35 +21,37 @@ let overList = [];
// 存放第一个选中的元素和最后一个选中元素,只能存放这两个元素
let selectedList = [];
-export default defineComponent({
- name: "Selector",
- props: {
- HsKey: {
- type: Number || String,
- default: 0
- },
- disabled: {
- type: Boolean,
- default: false
- },
- value: {
- type: Number,
- default: 0
- },
- max: {
- type: Array,
- default() {
- return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
- }
- },
- // 回显数据的索引,长度必须是2
- echo: {
- type: Array,
- default() {
- return [];
- }
+const props = {
+ HsKey: {
+ type: Number || String,
+ default: 0
+ },
+ disabled: {
+ type: Boolean,
+ default: false
+ },
+ value: {
+ type: Number,
+ default: 0
+ },
+ max: {
+ type: Array,
+ default() {
+ return [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
}
},
+ // 回显数据的索引,长度必须是2
+ echo: {
+ type: Array,
+ default() {
+ return [];
+ }
+ }
+};
+
+export default defineComponent({
+ name: "Selector",
+ props,
emits: ["selectedVal"],
setup(props, { emit }) {
const instance = getCurrentInstance();
diff --git a/src/config/index.ts b/src/config/index.ts
index 6072b5bd0..e51b86a60 100644
--- a/src/config/index.ts
+++ b/src/config/index.ts
@@ -1,6 +1,6 @@
let config: object = {};
-const setConfig = (cfg?: any) => {
+const setConfig = (cfg?: unknown) => {
config = Object.assign(config, cfg);
};
diff --git a/src/layout/components/screenfull/index.vue b/src/layout/components/screenfull/index.vue
index d01adfa64..924b966bd 100644
--- a/src/layout/components/screenfull/index.vue
+++ b/src/layout/components/screenfull/index.vue
@@ -1,3 +1,9 @@
+
+
-
-
diff --git a/src/views/permission/page/index.vue b/src/views/permission/page/index.vue
index ab2b2efcd..fbfa3adc6 100644
--- a/src/views/permission/page/index.vue
+++ b/src/views/permission/page/index.vue
@@ -1,3 +1,26 @@
+
+
@@ -10,35 +33,3 @@
切换角色
-
-
diff --git a/src/views/redirect.vue b/src/views/redirect.vue
index ffec73747..57206495b 100644
--- a/src/views/redirect.vue
+++ b/src/views/redirect.vue
@@ -1,26 +1,20 @@
+
+
-
diff --git a/src/views/register.vue b/src/views/register.vue
index 86ee7fdda..5676117e6 100644
--- a/src/views/register.vue
+++ b/src/views/register.vue
@@ -1,3 +1,47 @@
+
+
-
-
diff --git a/src/views/system/dict/config.vue b/src/views/system/dict/config.vue
index 7ca14427d..4d988f381 100644
--- a/src/views/system/dict/config.vue
+++ b/src/views/system/dict/config.vue
@@ -1,3 +1,79 @@
+
+
@@ -40,9 +116,9 @@
已选中{{ selectRecords.length }}条已选中{{ configData.selectRecords.length }}条
{{ $t("message.hsdelete") }}
@@ -73,98 +149,6 @@
-
-
diff --git a/src/views/welcome.vue b/src/views/welcome.vue
index f0f0a2f12..b64e38ed5 100644
--- a/src/views/welcome.vue
+++ b/src/views/welcome.vue
@@ -1,3 +1,170 @@
+
+
@@ -26,185 +193,6 @@
-
-