随笔分类 -  Vue

摘要:<a-table ref="table" :columns="columns" :rowKey="row => row.Id" :dataSource="data" :pagination="pagination" :loading="loading" @change="handleTableCha 阅读全文
posted @ 2021-04-09 23:27 liuyong111 阅读(3415) 评论(0) 推荐(0)
摘要:<a-form-model-item label="物料" prop="MaterialId"> <a-select v-model="entity.MaterialId" allowClear @select="onMaterialChanged"> <a-select-option v-for= 阅读全文
posted @ 2021-04-09 00:39 liuyong111 阅读(6670) 评论(0) 推荐(0)
摘要:修改nginx.conf listen 8089; server_name localhost; #charset koi8-r; #access_log logs/host.access.log main; location / { root vuetest\dist; index index.h 阅读全文
posted @ 2021-03-15 22:46 liuyong111 阅读(600) 评论(0) 推荐(0)
摘要:antdesign2.0版,form 和 formmodel合并成form了,保留了formmodel的功能。 <a-form class="ant-advanced-search-form" :model="ruleForm" :rules="rules" /> a-input v-model绑定 阅读全文
posted @ 2021-03-13 00:30 liuyong111 阅读(4629) 评论(0) 推荐(0)
摘要:创建项目后 安装antdesign npm i --save ant-design-vue@next main.js中添加引用 import { createApp } from 'vue' import Antd from 'ant-design-vue'; import 'ant-design- 阅读全文
posted @ 2021-03-13 00:17 liuyong111 阅读(5998) 评论(0) 推荐(0)
摘要:安装vue-router npm install vue-router@4.0.0-beta.13 创建src/router/index.js import { createRouter, createWebHashHistory } from 'vue-router' const router = 阅读全文
posted @ 2021-03-07 23:49 liuyong111 阅读(2800) 评论(0) 推荐(1)
摘要:安装axios npm install axios vue-axios main.js里 import axios from 'axios' import VueAxios from 'vue-axios' const app = createApp(App) // 创建实例 app.config. 阅读全文
posted @ 2021-03-04 15:21 liuyong111 阅读(764) 评论(0) 推荐(0)