mirror of https://github.com/certd/certd
fix: 修复修改密码功能异常问题
parent
e5989fe023
commit
f740ff517f
|
@ -26,10 +26,10 @@
|
||||||
"@ant-design/icons-vue": "^7.0.1",
|
"@ant-design/icons-vue": "^7.0.1",
|
||||||
"@aws-sdk/client-s3": "^3.535.0",
|
"@aws-sdk/client-s3": "^3.535.0",
|
||||||
"@aws-sdk/s3-request-presigner": "^3.535.0",
|
"@aws-sdk/s3-request-presigner": "^3.535.0",
|
||||||
"@fast-crud/fast-crud": "^1.21.0",
|
"@fast-crud/fast-crud": "^1.21.1",
|
||||||
"@fast-crud/fast-extends": "^1.21.0",
|
"@fast-crud/fast-extends": "^1.21.1",
|
||||||
"@fast-crud/ui-antdv4": "^1.21.0",
|
"@fast-crud/ui-antdv4": "^1.21.1",
|
||||||
"@fast-crud/ui-interface": "^1.21.0",
|
"@fast-crud/ui-interface": "^1.21.1",
|
||||||
"@iconify/vue": "^4.1.1",
|
"@iconify/vue": "^4.1.1",
|
||||||
"@soerenmartius/vue3-clipboard": "^0.1.2",
|
"@soerenmartius/vue3-clipboard": "^0.1.2",
|
||||||
"ant-design-vue": "^4.1.2",
|
"ant-design-vue": "^4.1.2",
|
||||||
|
|
|
@ -97,5 +97,7 @@ async function changePassword() {
|
||||||
const formOptions = buildFormOptions(passwordFormOptions);
|
const formOptions = buildFormOptions(passwordFormOptions);
|
||||||
formOptions.newInstance = true; //新实例打开
|
formOptions.newInstance = true; //新实例打开
|
||||||
passwordFormRef.value = await openDialog(formOptions);
|
passwordFormRef.value = await openDialog(formOptions);
|
||||||
|
debugger;
|
||||||
|
console.log(passwordFormRef.value);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -65,7 +65,7 @@ export default defineComponent({
|
||||||
//处理过,无需再次处理
|
//处理过,无需再次处理
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
value.class="is-twig"
|
value.class = "is-twig";
|
||||||
if (value.children != null && value.children.length > 0) {
|
if (value.children != null && value.children.length > 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -83,13 +83,13 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
// 所有的子节点都没有children
|
// 所有的子节点都没有children
|
||||||
parent.class = "is-twig"; // 连接叶子节点的末梢枝杈节点
|
parent.class = "is-twig"; // 连接叶子节点的末梢枝杈节点
|
||||||
let i = 0
|
let i = 0;
|
||||||
for (const child of parent.children) {
|
for (const child of parent.children) {
|
||||||
child.class = "is-leaf";
|
child.class = "is-leaf";
|
||||||
if(i !== 0){
|
if (i !== 0) {
|
||||||
child.class += " leaf-after";
|
child.class += " leaf-after";
|
||||||
}
|
}
|
||||||
i++
|
i++;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return [
|
return [
|
||||||
|
@ -135,11 +135,10 @@ export default defineComponent({
|
||||||
|
|
||||||
<style lang="less">
|
<style lang="less">
|
||||||
.fs-permission-tree {
|
.fs-permission-tree {
|
||||||
|
.ant-tree-list-holder-inner {
|
||||||
.ant-tree-list-holder-inner{
|
|
||||||
flex-direction: row !important;
|
flex-direction: row !important;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
.is-twig{
|
.is-twig {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -149,8 +148,8 @@ export default defineComponent({
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.leaf-after{
|
&.leaf-after {
|
||||||
.ant-tree-indent-unit{
|
.ant-tree-indent-unit {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -159,7 +158,6 @@ export default defineComponent({
|
||||||
border-bottom: 1px solid #ddd;
|
border-bottom: 1px solid #ddd;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
//.is-twig ul {
|
//.is-twig ul {
|
||||||
// display: flex;
|
// display: flex;
|
||||||
|
|
Loading…
Reference in New Issue