|
@@ -120,6 +120,10 @@ useBackButton(1, processNextHandler => {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
onMounted(() => {
|
|
onMounted(() => {
|
|
|
|
|
+ // init()
|
|
|
|
|
+})
|
|
|
|
|
+
|
|
|
|
|
+function init() {
|
|
|
useSystemStore().getSysConfigs()
|
|
useSystemStore().getSysConfigs()
|
|
|
emitter.on('promptLogin', promptLogin)
|
|
emitter.on('promptLogin', promptLogin)
|
|
|
emitter.on('customer', customer)
|
|
emitter.on('customer', customer)
|
|
@@ -135,12 +139,14 @@ onMounted(() => {
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|
|
|
})
|
|
})
|
|
|
-})
|
|
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
onBeforeUnmount(() => {
|
|
onBeforeUnmount(() => {
|
|
|
emitter.off('promptLogin', promptLogin)
|
|
emitter.off('promptLogin', promptLogin)
|
|
|
})
|
|
})
|
|
|
const showCustmer = ref(false)
|
|
const showCustmer = ref(false)
|
|
|
function customer() {
|
|
function customer() {
|
|
|
|
|
+ init()
|
|
|
showCustmer.value = true
|
|
showCustmer.value = true
|
|
|
}
|
|
}
|
|
|
|
|
|