- aggiornamento Cataloghi
- Gestione delle versioni del prodotto ("Nuovi","Usati","Epub", ecc..)
This commit is contained in:
@@ -117,7 +117,7 @@ export default defineComponent({
|
||||
|
||||
const newtype = ref(<any>'')
|
||||
|
||||
const isAppRunning = computed(() => globalStore.isAppRunning )
|
||||
const isAppRunning = computed(() => globalStore.isAppRunning)
|
||||
|
||||
watch(() => myel.value.order, (value, oldval) => {
|
||||
mounted()
|
||||
@@ -150,21 +150,7 @@ export default defineComponent({
|
||||
|
||||
function addNewElem(order?: number) {
|
||||
|
||||
const newrec: IMyElem = {
|
||||
_id: undefined,
|
||||
type: newtype.value,
|
||||
path: props.myelem.path,
|
||||
order: order ? order : 1000,
|
||||
active: true,
|
||||
container: ''
|
||||
}
|
||||
|
||||
if (newrec.type === shared_consts.ELEMTYPE.CAROUSEL_IMGS) {
|
||||
newrec.container2 = '8'
|
||||
newrec.height = 600
|
||||
}
|
||||
|
||||
globalStore.addNewElem($q, t, newrec)
|
||||
let newrec = globalStore.prepareAddNewElem(order, $q, t, props.myelem, newtype.value)
|
||||
}
|
||||
|
||||
function dupElem(order?: number) {
|
||||
|
||||
Reference in New Issue
Block a user