mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-14 21:36:44 +08:00
feat:注释自动跳转
This commit is contained in:
@@ -589,7 +589,7 @@
|
||||
<!-- 管理权抽屉 -->
|
||||
<manage-right v-model:Managevisible="Managevisible" />
|
||||
<!-- 授权名单抽屉 -->
|
||||
<power-list v-model:PLvisible="PLvisible" />
|
||||
<power-list v-model:PLvisible="PLvisible" :selectPathId="selectPathId" />
|
||||
|
||||
<!-- 创建路径loading -->
|
||||
|
||||
@@ -862,6 +862,8 @@ export default {
|
||||
|
||||
lpLoading: false,
|
||||
learnBgMore: false, //是否显示更多学习路径背景
|
||||
|
||||
selectPathId: null, //选择的
|
||||
});
|
||||
const selectProjectName = (value, index) => {
|
||||
console.log("value", value, index);
|
||||
@@ -1039,8 +1041,9 @@ export default {
|
||||
const showOwner = () => {
|
||||
state.Ownervisible = true;
|
||||
};
|
||||
const showPower = () => {
|
||||
const showPower = (id) => {
|
||||
state.PLvisible = true;
|
||||
state.selectPathId = id;
|
||||
};
|
||||
const showQuery = () => {
|
||||
state.Queryvisible = true;
|
||||
@@ -1232,7 +1235,7 @@ export default {
|
||||
<a-select-option value="权限名单" label="权限名单">
|
||||
<div
|
||||
onClick={() => {
|
||||
showPower();
|
||||
showPower(text.record.id);
|
||||
}}
|
||||
>
|
||||
权限名单
|
||||
@@ -1647,7 +1650,7 @@ export default {
|
||||
// console.log("执行");
|
||||
getLearnPath();
|
||||
// let cookie =
|
||||
// "eyJ0eXBlIjoidG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91LmJvZS5jb20iLCJpYXQiOjE2NjkzNTU0MjQsImV4cCI6MTY2OTM2MjYyNCwiR2l2ZW5OYW1lIjoiYm9ldSIsInVzZXJJZCI6IjZCMDQ5RkFGLUMzMTQtN0NDRi0wRDI4LTBEMjNGNEM0MjUzMSIsInVJZCI6Ijk2NTM0MjAyNzQ5NzYwNzE2OCIsInBlcm1pc3Npb24iOiIifQ==.a565952d942ac41a6258a187be48a9269a75d0bfc50c6f13eb42362fe2f3d76a";
|
||||
// "eyJ0eXBlIjoidG9rZW4iLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC91LmJvZS5jb20iLCJpYXQiOjE2NjkzNjI4OTAsImV4cCI6MTY2OTM3MDA5MCwiR2l2ZW5OYW1lIjoiYm9ldSIsInVzZXJJZCI6IjZCMDQ5RkFGLUMzMTQtN0NDRi0wRDI4LTBEMjNGNEM0MjUzMSIsInVJZCI6Ijk2NTM0MjAyNzQ5NzYwNzE2OCIsInBlcm1pc3Npb24iOiIifQ==.2e68ae110cf0e8f157d8312301c0ca8104d6ec2a2a294052d5497c06019ed3d8";
|
||||
// setCookie("token", cookie, 10);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user