No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. edudesouza
    E
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 8
    • Best 2
    • Groups 0

    edudesouza

    @edudesouza

    4
    Reputation
    326
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    edudesouza Follow

    Best posts made by edudesouza

    • RE: Best Approach To Upload image using <q-uploader>

      Quite simple:

      <q-uploader 
                :url="upload"
                :labels = "{add:'Selecionar arquivo',remove:'Remover',upload:'Enviar',failed:'ERRO',uploading:'Enviando'}"      
                :additionalFields = "[
                  {'name':'id_cliente','value':this.id_cliente},
                  {'name':'id_usuario','value':this.id_usuario},
                  {'name':'url','value':this.url},
                  {'name':'token','value':this.token},
                  {'name':'categoria','value':this.form.categoria},
                  {'name':'titulo','value':this.form.titulo},
                  {'name':'email','value':this.form.email},
                  {'name':'telefone','value':this.form.telefone},
                  {'name':'comentario','value':this.form.comentario},
                ]"
                :hide-upload-button = "true"
                @finish = "upload_ok"
                @fail   = "upload_erro"           
                buttonClass="bg-green-7 radius04 text-white"
                ref="uploader">         
      </q-uploader>
      

      then after some validation you call

      this.$refs.uploader.upload();
      
      posted in Help
      E
      edudesouza
    • RE: Installed apk generated by quasar dev / build command does not work in Android

      How to resolve that:
      quasar build -m cordova -T android -t mat
      cd src-cordova
      cordova build

      posted in Help
      E
      edudesouza

    Latest posts made by edudesouza

    • RE: Installed apk generated by quasar dev / build command does not work in Android

      How to resolve that:
      quasar build -m cordova -T android -t mat
      cd src-cordova
      cordova build

      posted in Help
      E
      edudesouza
    • RE: Ho to use axios inside a plugin

      Found …

      import Vue from ‘vue’;
      import axios from ‘axios’;

      …

      Vue.prototype.$axios.post( …
      instead of
      this.$axios.post( …

      posted in Help
      E
      edudesouza
    • Ho to use axios inside a plugin

      Hi there,

      I’m updating my app from 0.13 to 0.17.

      In my old app I have in main.js a function to handle all ajax request.
      Now in the new version I have a plugin to handle this, although, I’am experiencing some issues with axios:

      Error in event handler for “click”: “TypeError: Cannot read property ‘post’ of undefined”

      My code:

      const funcoes = {

      enviar: function(url,dados_form){

      this.$axios.post(url,dados_form,{emulateJSON: true},{headers:{‘Cache-Control’: ‘no-cache’}}
      ).then(response =>{

        Loading.hide();
        var resultado = response.data.result;
      

      console.log(“OK”);

      },response => {
      Loading.hide();
      console.log(“ERRO”);
      },

      posted in Help
      E
      edudesouza
    • RE: Best Approach To Upload image using <q-uploader>

      Quite simple:

      <q-uploader 
                :url="upload"
                :labels = "{add:'Selecionar arquivo',remove:'Remover',upload:'Enviar',failed:'ERRO',uploading:'Enviando'}"      
                :additionalFields = "[
                  {'name':'id_cliente','value':this.id_cliente},
                  {'name':'id_usuario','value':this.id_usuario},
                  {'name':'url','value':this.url},
                  {'name':'token','value':this.token},
                  {'name':'categoria','value':this.form.categoria},
                  {'name':'titulo','value':this.form.titulo},
                  {'name':'email','value':this.form.email},
                  {'name':'telefone','value':this.form.telefone},
                  {'name':'comentario','value':this.form.comentario},
                ]"
                :hide-upload-button = "true"
                @finish = "upload_ok"
                @fail   = "upload_erro"           
                buttonClass="bg-green-7 radius04 text-white"
                ref="uploader">         
      </q-uploader>
      

      then after some validation you call

      this.$refs.uploader.upload();
      
      posted in Help
      E
      edudesouza
    • RE: [Solved] Absolute Positioning Usage for Button in iOS

      Same case here, but only worked this way, in my main css file

      @media screen and (-webkit-min-device-pixel-ratio:0) {

      div.layout-view {-webkit-overflow-scrolling: auto;}

      }

      posted in Help
      E
      edudesouza
    • Quasar upload - Get post response

      Is it possible to get the post response after an upload?

      posted in Help
      E
      edudesouza
    • RE: Style the dialog

      is there a way to force scroll to be shown on cordova?

      posted in Help
      E
      edudesouza
    • Calling cordova plugin on mouted App

      Hi fellows,
      I am hit my head against the wall for many days, about integrating a cordova plugin and vue/quasar.

      I am using phonegap-push-plugin, on device ready I got the token and save it to local storage, once the use logs in, I would subscribe this user to a specific topic.

      Regarding the push plugin, I am pretty comfortable, the problem is how do I call it inside vue/quasar.

      This is how it is made on Index.html, an work fine:

      push.subscribe(‘all’, function() {
      alert(‘success’);
      }, function(e) {
      alert(‘error:’);
      });

      Once the user is logged in, I would subscribe him to another topic:

      push.subscribe(‘track-orders-12356’, function() {
      alert(‘success’);
      }, function(e) {
      alert(‘error:’);
      });

      Anybody did this sort of integration with any other plugin?

      Many thanks in advance.

      posted in Framework
      E
      edudesouza