mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 11:32:57 +08:00
commit
ae7aff9fef
@ -69,6 +69,8 @@ export const interactiveStore = defineStore('interactive', {
|
||||
const method = apiMap[flag]
|
||||
const res = await method(param)
|
||||
this.data[flag] = convertInteractive(res)
|
||||
console.log('this.data[flag]', this.data[flag], flag, this, res, busiFlagMap, param)
|
||||
|
||||
if (flag === 0) {
|
||||
wsCache.set('panel-weight', convertLocalStorage(this.data[flag]))
|
||||
}
|
||||
|
@ -305,7 +305,7 @@ onMounted(async () => {
|
||||
}
|
||||
let deTemplateData
|
||||
if (createType === 'template') {
|
||||
const templateParamsApply = JSON.parse(decodeURIComponent(Base64.decode(templateParams + '')))
|
||||
const templateParamsApply = JSON.parse(Base64.decode(decodeURIComponent(templateParams + '')))
|
||||
await decompressionPre(templateParamsApply, result => {
|
||||
deTemplateData = result
|
||||
})
|
||||
|
@ -282,6 +282,8 @@ const state = reactive({
|
||||
|
||||
const createAuth = computed(() => {
|
||||
const authMap = interactiveStore.getData
|
||||
console.log('authMap', authMap)
|
||||
|
||||
return {
|
||||
PANEL: authMap['0'].menuAuth && authMap['0'].anyManage,
|
||||
SCREEN: authMap['1'].menuAuth && authMap['1'].anyManage
|
||||
|
Loading…
Reference in New Issue
Block a user