Vue
不快乐的小学生
学习僧
展开
-
关于vue3无法解析router-view Failed to resolve component: router-view
原问题代码import { createApp } from 'vue'import App from './App.vue'import router from './router/index'import { DatePicker } from "ant-design-vue";const app = createApp(App)app.use(router)app.use(DatePicker);createApp(App).mount('#app')因为引用的vue-rou原创 2021-11-18 16:25:51 · 7311 阅读 · 4 评论 -
element el-upload 只用来显示时的空行问题
<el-upload style="display: grid;" ...></el-upload>原创 2021-05-26 13:08:50 · 192 阅读 · 0 评论 -
Vue不强制刷新页面的情况下强制组件重新渲染
面试时被问到了这个问题,当时只想到了vif,记录几种渲染方式原创 2021-05-19 15:04:46 · 215 阅读 · 0 评论 -
vue element <el-dialog> 标签 内表单验证坑记录
发生情况:在dialog中写表单验证,dialog框关闭后表单验证还存在解决:关闭时直接销毁dialog v-if原创 2021-05-08 14:51:14 · 1099 阅读 · 0 评论 -
i18n java sringboot 前后端分离国际化简单实现
// 隐藏包import org.springframework.beans.factory.annotation.Autowired;import org.springframework.context.MessageSource;import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframew原创 2021-03-17 13:49:22 · 537 阅读 · 0 评论 -
vue elementUI el-select 多选 同时获取label 和 value 的值【记录】
<el-form-item label="使用者IP地址" prop="ip_addresses" :rules="[ { type: 'array', required: true, message: '不能为空', trigger: ['blur', 'change'] } ]" > <el-select v-model="ip_address" multiple placeholder="请选择IP地址" style="width: 10原创 2021-03-11 15:55:28 · 2529 阅读 · 0 评论 -
在vue中的引用部分公用js记录
<template> <div> <el-table :data="tableData"> <el-table-column label="状态" width="110"> <template slot-scope="scope"> <span>{{ getSta原创 2021-03-03 11:12:29 · 111 阅读 · 0 评论 -
vue json 格式化小工具 自用记录[未完成]
<template> <div> <h1>格式化工具</h1> <el-form ref="form" :model="form" :rules="rules" label-width="0px"> <el-row> <el-col :span="11"> <div>Before</div> <el-form原创 2021-03-01 15:37:16 · 116 阅读 · 0 评论 -
vue I18n 实现笔记(与官网高度重合)
官网例子实现记录,不断完善中原创 2020-06-17 16:14:46 · 518 阅读 · 0 评论 -
【Vue基础自学笔记】基础语法及相关dos整理
vue-面向数据编程原创 2019-11-14 15:40:01 · 144 阅读 · 0 评论