摘要:
<template> <card-layout :title="L('Users')" :actions="actions" @click="handleClick"> <el-table :data="tableData4.slice((currentPage-1)*pagesize,curren 阅读全文
摘要:
1.npm install --global @vue/cli 2.npm install -g @vue/cli-init 3.vue init webpack my-project 阅读全文
摘要:
npm install chromedriver -g 阅读全文
摘要:
1.npm install vue-i18n 2.在 main.js 中引入 vue-i18n import VueI18n from 'vue-i18n' Vue.use(VueI18n) 3.在main.js中准备翻译 const messages = { zh: { message: { name:'李四' } }... 阅读全文
摘要:
if (!this.surname) { this.$createDialog({ type: "alert", icon: "cubeic-close", showClose: true, content: this.$t("message.errInputSurname"), ... 阅读全文
摘要:
getage() { var birthdays = new Date(this.birthday.replace(/-/g, "/")); var d = new Date(); var age = d.getFullYear() - birthdays.getFullYear() - (d.getMo... 阅读全文