上一页 1 2 3 4 5 6 7 8 9 ··· 58 下一页
  2024年5月11日
摘要: 在Vue 3中,可以通过两种方式设置页面的name:在<script setup>单文件组件(SFC)中,可以直接使用name选项。在普通的Vue组件中,可以在组件的选项对象中设置name。<script setup>import { defineComponent } from 'vue'expo 阅读全文
posted @ 2024-05-11 16:05 邢帅杰 阅读(595) 评论(0) 推荐(0) 编辑
摘要: 来源:https://blog.csdn.net/m0_66532594/article/details/128376057https://blog.csdn.net/weixin_51220466/article/details/123889240 1.npm i vue-i18n 或 cnpm 阅读全文
posted @ 2024-05-11 14:51 邢帅杰 阅读(1374) 评论(0) 推荐(0) 编辑
  2024年5月8日
摘要: 参考:https://cn.vuejs.org/api/options-composition.html#providehttps://blog.csdn.net/lgdaren/article/details/125224122vue3挂载全局变量 https://blog.csdn.net/cs 阅读全文
posted @ 2024-05-08 17:30 邢帅杰 阅读(735) 评论(0) 推荐(0) 编辑
  2024年5月6日
摘要: 原文链接:https://blog.csdn.net/troubleshooter/article/details/119389179Cron表达式是一个字符串,以5个或6个空格隔开,分为6个或7个域,每一个域代表一个含义,Cron有如下两种语法格式:1.Seconds Minutes Hours 阅读全文
posted @ 2024-05-06 10:25 邢帅杰 阅读(20) 评论(0) 推荐(0) 编辑
  2024年4月29日
摘要: code package com.xcg.webapp.Common; import java.nio.charset.StandardCharsets; import java.util.Base64; /** * @author jay * @create 2024-04-29 11:13 */ 阅读全文
posted @ 2024-04-29 10:30 邢帅杰 阅读(269) 评论(0) 推荐(0) 编辑
  2024年4月28日
摘要: import.meta.env.VITE...Vue.js 3.x 获取环境变量 let docTitle = import.meta.env.VITE_TITLE; let docDesc = import.meta.env.VITE_DESCRIPT; let docKeywords = imp 阅读全文
posted @ 2024-04-28 16:30 邢帅杰 阅读(134) 评论(0) 推荐(0) 编辑
  2024年4月26日
摘要: 连接字符串 server=localhost;port=3306;database=xcgdb;uid=root;pwd=root;charset=utf8mb4;新版Mysql8在创建数据库的时候自己设置想要的排序规则。如果是使用migration自动创建的话,使用Mysql8的默认排序规则 ut 阅读全文
posted @ 2024-04-26 17:52 邢帅杰 阅读(13) 评论(0) 推荐(0) 编辑
  2024年4月25日
摘要: 1.执行完insert语句,返回自增列最新的值。两种方式 <insert id="create" parameterType="com.xcg.webapp.model.entity.Production" useGeneratedKeys="true" keyProperty="productio 阅读全文
posted @ 2024-04-25 16:07 邢帅杰 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 如果实体类的属性名称和数据库中的字段名称不一致,比如属性productName,数据库字段product_name。这时候mybatis查询返回的结果需要跟实体类自动映射 就需要配置一下映射关系。如果列名和属性名一样,那就不用配置映射关系了,直接使用resultType指定类就行。如果不想输入全类名 阅读全文
posted @ 2024-04-25 11:18 邢帅杰 阅读(42) 评论(0) 推荐(0) 编辑
  2024年4月24日
摘要: nextTick(),是将回调函数延迟在下一次dom更新数据后调用,简单的理解是:当数据更新了,在dom中渲染后,自动执行该函数。 that.$nextTick(function(){ console.log(that.$refs.txtEmail.innerText); //输出:修改后的值 }) 阅读全文
posted @ 2024-04-24 18:17 邢帅杰 阅读(20) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 58 下一页