style: 代码格式化

Former-commit-id: f44209861939f6481b37e46da09c10fac0804336
This commit is contained in:
郝先瑞
2022-05-18 23:54:09 +08:00
parent a2e0935c9d
commit 50c5c1ad2f
2 changed files with 5 additions and 8 deletions

View File

@@ -124,7 +124,6 @@ watchEffect(() => {
bScroll && (bScroll as any).refresh();
});
});
</script>
<style lang="scss" scoped>

View File

@@ -133,13 +133,11 @@ const state = reactive({
username: 'admin',
password: '123456',
code: '',
uuid: '',
uuid: ''
} as LoginFormData,
loginRules: {
username: [{ required: true, trigger: 'blur' }],
password: [
{ required: true, trigger: 'blur', validator: validatePassword },
],
password: [{ required: true, trigger: 'blur', validator: validatePassword }]
},
loading: false,
passwordType: 'password',
@@ -148,7 +146,7 @@ const state = reactive({
capslockTooltipDisabled: true,
otherQuery: {},
clientHeight: document.documentElement.clientHeight,
showCopyright: true,
showCopyright: true
});
function validatePassword(rule: any, value: any, callback: any) {
@@ -166,7 +164,7 @@ const {
passwordType,
captchaBase64,
capslockTooltipDisabled,
showCopyright,
showCopyright
} = toRefs(state);
function checkCapslock(e: any) {
@@ -225,7 +223,7 @@ watch(
}
},
{
immediate: true,
immediate: true
}
);