chore: 统一style标签的字段顺序

<style lang="scss" scope> **部分全局作用域未添加scope**
This commit is contained in:
yangxu52
2025-03-07 00:02:15 +08:00
parent 71b9d5d468
commit e98d43f50d
14 changed files with 14 additions and 22 deletions

View File

@ -100,7 +100,7 @@ const goTarget = (url: string) => {
};
</script>
<style scoped lang="scss">
<style lang="scss" scoped>
.home {
blockquote {
padding: 10px 20px;

View File

@ -95,7 +95,7 @@ const typeFormat = (row: OperLogForm) => {
};
</script>
<style scoped>
<style lang="scss" scoped>
/**
label宽度固定
*/

View File

@ -156,5 +156,3 @@ onMounted(() => {
getList();
});
</script>
<style lang="scss" scoped></style>

View File

@ -128,5 +128,3 @@ defineExpose({
show
});
</script>
<style scoped></style>

View File

@ -288,15 +288,15 @@
<script setup name="User" lang="ts">
import api from '@/api/system/user';
import { UserForm, UserQuery, UserVO } from '@/api/system/user/types';
import {DeptTreeVO, DeptVO} from '@/api/system/dept/types';
import { DeptTreeVO, DeptVO } from '@/api/system/dept/types';
import { RoleVO } from '@/api/system/role/types';
import { PostQuery, PostVO } from '@/api/system/post/types';
import { treeselect } from '@/api/system/dept';
import { globalHeaders } from '@/utils/request';
import { to } from 'await-to-js';
import { optionselect } from '@/api/system/post';
import {hasPermi} from "@/directive/permission";
import {checkPermi} from "@/utils/permission";
import { hasPermi } from '@/directive/permission';
import { checkPermi } from '@/utils/permission';
const router = useRouter();
const { proxy } = getCurrentInstance() as ComponentInternalInstance;
@ -453,7 +453,7 @@ const getDeptTree = async () => {
/** 过滤禁用的部门 */
const filterDisabledDept = (deptList: DeptTreeVO[]) => {
return deptList.filter(dept => {
return deptList.filter((dept) => {
if (dept.disabled) {
return false;
}
@ -663,5 +663,3 @@ async function handleDeptChange(value: number | string) {
form.value.postIds = [];
}
</script>
<style lang="scss" scoped></style>

View File

@ -94,7 +94,7 @@ const authUrl = (source: string) => {
};
</script>
<style type="text/css">
<style lang="scss" scoped>
.user-bind .third-app {
display: -webkit-box;
display: -ms-flexbox;