vuejs2

    0热度

    1回答

    在我Vue2的应用程序,我执行POST请求与爱可信: window.axios.post(`/clients/${this.getClientId}/connection`, { clientType: newClientType, url: this.client.url, username: this.client.username,

    0热度

    1回答

    我使用来自here和here的hackernews方法设置vuex和SSR,并且它都能正常工作。 app.js: // Expose a factory function that creates a fresh set of store, router, // app instances on each call (which is called for each SSR request)

    0热度

    2回答

    在vueJS中,我有一个<table>。如果我点击一个按钮,一个新行将被插入使用 this.rows.push({ title: '', price: '' }); 问题的表是我使用这个功能: $(".price").numeric({ decimal: false, negative: false }); 这是一个j

    0热度

    2回答

    我想为我的孩子路线定义一个beforeEnter后卫,但我没有成功。这里是我的路由配置: ... { path: '/', component: App beforeEnter: (to, from, next) -> # This block is only reached when I refresh the page child

    1热度

    1回答

    import Vue from 'vue' import Vuex from 'vuex' import Users from './modules/Users' Vue.use(Vuex) export const store = new Vuex.Store({ namespaced: true, state: { foo: false,

    1热度

    4回答

    元素我有一个表,看起来像这样: <table class="table"> <thead> <tr> <td><strong>Title</strong></td> <td><strong>Job</strong></td> <td></td> </tr> </thead> <tbody> <tr v-

    0热度

    3回答

    我VUE成分是这样的: <template> ... <ul class="list-unstyled"> <li v-for="category in categories"> ... <input type="checkbox" :value="category.id" :checked="category.id in_ar

    0热度

    1回答

    我使用vue-cli创建了Vue 2.5.2应用程序。 我试图建立其自身的作品在我的第一个组件(<jsontree />),但我无法弄清楚如何注册的另一个组件使用(<HelloWorld>) 这是错误消息我收到: [Vue warn]: Unknown custom element: <jsontree> - did you register the component correctly? Fo

    0热度

    1回答

    一个按钮应该可以下载即时生成的PDF文件。 PDF由API正确生成,由客户端代码处理的文件已损坏,并且不会打开。 的工艺流程: 按钮被点击 exportDataAsPDFAction被触发 POST请求被构建和执行 响应包含原始PDF文件 文件下载是由以下启动回调逻辑: this.exportDataAsPDFAction({ gridKey: this.grid.Key, c

    1热度

    2回答

    嗨,大家好,我不太知道如何做到这一点,我很新的Vue公司,我怎么可以把我的数据从NewDeal组件DealsTable组件?正如你可以看到NewDeal有两个父组件。我读过$ emit和$ on,但只想确认是否真的需要这样做,如newDeal -> QuickActions -> SideBar?如果我所想的是正确的,我不知道该怎么走。我希望你能给我一些启示。 我试过从NewDeal组件发出一个事