fix: 修复角色菜单父子默认联动默认选中引起的展示问题,修改.gitignore配置文件

This commit is contained in:
YeMingfei666 2025-03-24 21:13:31 +08:00
parent 2e5f94c293
commit d84b600f4e
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ dist-ssr
stats.html stats.html
pnpm-lock.yaml pnpm-lock.yaml
package-lock.json package-lock.json
.env.development

View File

@ -57,7 +57,7 @@ const modelValue = defineModel("modelValue", {
}); });
const permKeywords = ref(""); const permKeywords = ref("");
const isExpanded = ref(true); const isExpanded = ref(true);
const parentChildLinked = ref(true); const parentChildLinked = ref(false);
const permTreeRef = ref(); const permTreeRef = ref();
// / // /
function togglePermTree() { function togglePermTree() {

View File

@ -249,7 +249,7 @@ const assignPermDialogVisible = ref(false);
const permKeywords = ref(""); const permKeywords = ref("");
const isExpanded = ref(true); const isExpanded = ref(true);
const parentChildLinked = ref(true); const parentChildLinked = ref(false);
// //
function handleQuery() { function handleQuery() {