test node command
This commit is contained in:
parent
7d08aef89d
commit
cb682a179f
|
@ -9,4 +9,5 @@ RUN npm install --omit=dev
|
|||
|
||||
COPY . /src
|
||||
RUN npm run build
|
||||
CMD npm run preview -- --host
|
||||
# CMD npm run preview -- --host
|
||||
CMD node .output/server/index.mjs
|
|
@ -75,7 +75,7 @@ const submit = (e: any) => {
|
|||
name: modal_data.name || `ref from site ${new Date}`,
|
||||
phone: modal_data.phone,
|
||||
fence_info: [
|
||||
...Object.values(total_txt.value).map(el => el.join('\n')),
|
||||
...Object.values(total_txt.value).map(el => el.join('\n')),
|
||||
total_colors.value.join('\n')
|
||||
].join('\n\n'),
|
||||
})
|
||||
|
@ -180,7 +180,7 @@ const total_txt = computed(() => {
|
|||
<input type="text" placeholder="Ваше имя" v-model="modal_data.name" @keyup="validate" />
|
||||
<input type="phone" placeholder="Номер телефона или e-mail" v-model="modal_data.phone"
|
||||
@keypress="validateInput" @keyup="validate" />
|
||||
{{total_txt.total[0]}}
|
||||
{{ total_txt.total[0] }}
|
||||
<div class="flex gap-4">
|
||||
<button class="not-prose" :disabled="modal_form.disabled" type="submit">Отправить</button>
|
||||
<button class="not-prose" type="reset" @click="toggleModal">Отмена</button>
|
||||
|
|
Loading…
Reference in New Issue