update 升级部分依赖,优化eslint语法以及scss语法

This commit is contained in:
LiuHao
2025-02-25 13:30:57 +08:00
parent cc38d23d14
commit aef5a02097
10 changed files with 93 additions and 123 deletions

View File

@ -68,7 +68,7 @@ onMounted(() => {
});
onMounted(() => {
let protocol = window.location.protocol === 'https:' ? 'wss://' : 'ws://';
const protocol = window.location.protocol === 'https:' ? 'wss://' : 'ws://';
initWebSocket(protocol + window.location.host + import.meta.env.VITE_APP_BASE_API + '/resource/websocket');
});
@ -86,11 +86,11 @@ const setLayout = () => {
</script>
<style lang="scss" scoped>
@import '@/assets/styles/mixin.scss';
@import '@/assets/styles/variables.module.scss';
@use '@/assets/styles/mixin.scss';
@use '@/assets/styles/variables.module.scss' as *;
.app-wrapper {
@include clearfix;
@include mixin.clearfix;
position: relative;
height: 100%;
width: 100%;