cloud-web-corejs 1.0.54-dev.259 → 1.0.54-dev.260
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -920,8 +920,9 @@ function getGrid(that, tableRef) {
|
|
920
920
|
});
|
921
921
|
},
|
922
922
|
lockMenu(){
|
923
|
-
let
|
924
|
-
let
|
923
|
+
let vueTarget = window.$vueRoot;
|
924
|
+
let path = vueTarget.$route.path;
|
925
|
+
let visitedViews = vueTarget.$store.state.tagsView.visitedViews
|
925
926
|
if(visitedViews){
|
926
927
|
let currentItem = visitedViews.find(item=>item.path == path)
|
927
928
|
if(currentItem && !currentItem.meta.affix){
|
@@ -932,8 +933,9 @@ function getGrid(that, tableRef) {
|
|
932
933
|
|
933
934
|
},
|
934
935
|
unlockMenu(){
|
935
|
-
let
|
936
|
-
let
|
936
|
+
let vueTarget = window.$vueRoot;
|
937
|
+
let path = vueTarget.$route.path;
|
938
|
+
let visitedViews = vueTarget.$store.state.tagsView.visitedViews
|
937
939
|
if(visitedViews){
|
938
940
|
let currentItem = visitedViews.find(item=>item.path == path)
|
939
941
|
if(currentItem && currentItem.meta.user_affix){
|