Animations, Policy, Toolbar Colors
This commit is contained in:
@@ -62,13 +62,13 @@ export default defineComponent({
|
||||
const { t } = useI18n()
|
||||
const globalStore = useGlobalStore()
|
||||
|
||||
const editOn = ref(false)
|
||||
const visuEditor = ref(false)
|
||||
const addOn = ref(false)
|
||||
const myelemVoid = ref({ _id: objectId(), active: true, type: shared_consts.ELEMTYPE.TEXT, container: '...', path: mypathin.value } as IMyElem)
|
||||
|
||||
|
||||
const selElem = ref(globalStore.selElem)
|
||||
const editOn = computed(() => globalStore.editOn)
|
||||
|
||||
const myelems = computed(() => {
|
||||
if (mypathin.value)
|
||||
@@ -86,10 +86,6 @@ export default defineComponent({
|
||||
})
|
||||
}
|
||||
|
||||
if (tools.isManager()) {
|
||||
editOn.value = tools.getCookie('EDITPAGES', '0') === '-1' ? true : false
|
||||
console.log('getcookie: ', editOn.value, mypathin.value)
|
||||
}
|
||||
}
|
||||
|
||||
watch(() => props.mypath, (to: string, from: string) => {
|
||||
|
||||
Reference in New Issue
Block a user