File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7373 name =" copies"
7474 min =" 1"
7575 max =" 10"
76- v-model =" copies"
76+ v-model.lazy =" copies"
7777 required
7878 />
7979 </div >
117117<script >
118118import axios from " axios" ;
119119
120-
121120export default {
122121 data () {
123122 return {
@@ -148,6 +147,9 @@ export default {
148147 number (new_number ) {
149148 localStorage .setItem (" number" , new_number);
150149 },
150+ copies (new_copies ) {
151+ this .copies = parseInt (new_copies);
152+ },
151153 },
152154 methods: {
153155 async send () {
@@ -206,7 +208,10 @@ export default {
206208 var body_data = new FormData ();
207209 body_data .append (" file" , this .file );
208210
209- await axios .post (` ${ process .env .VUE_APP_API_PRINTER } /file/${ this .api_pin } ` , body_data);
211+ await axios .post (
212+ ` ${ process .env .VUE_APP_API_PRINTER } /file/${ this .api_pin } ` ,
213+ body_data
214+ );
210215 },
211216 },
212217};
Original file line number Diff line number Diff line change 11export function get_marketing_id ( ) {
22 let marketing_id = localStorage . getItem ( "marketing-id" ) ;
3- if ( marketing_id && marketing_id !== ' null' ) return marketing_id ;
3+ if ( marketing_id && marketing_id !== " null" ) return marketing_id ;
44
55 const urlParams = new URLSearchParams ( window . location . search ) ;
66 marketing_id = urlParams . get ( "marketing_id" ) ;
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export default defineComponent({
3030 mounted () {
3131 this .hist = get_history ();
3232 this .hist .reverse ();
33- log_open_history ()
33+ log_open_history ();
3434 },
3535});
3636 </script >
You can’t perform that action at this time.
0 commit comments