Changes
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script setup>
|
||||
import axios from "axios";
|
||||
|
||||
import ZebraBrowserPrintWrapper from "zebra-browser-print-wrapper"
|
||||
definePageMeta({
|
||||
middleware: "auth"
|
||||
})
|
||||
@@ -11,6 +11,8 @@ const router = useRouter()
|
||||
const toast = useToast()
|
||||
const id = ref(route.params.id ? route.params.id : null )
|
||||
|
||||
const browserPrint = ZebraBrowserPrintWrapper();
|
||||
|
||||
let currentItem = ref(null)
|
||||
|
||||
//Working
|
||||
@@ -36,6 +38,8 @@ const setupPage = async () => {
|
||||
}
|
||||
|
||||
if(mode.value === "edit") itemInfo.value = currentItem.value
|
||||
|
||||
|
||||
}
|
||||
|
||||
const cancelEditorCreate = () => {
|
||||
|
||||
Reference in New Issue
Block a user