摘要: 新建store.js // store/index.js import { createStore } from 'vuex'; const store = createStore({ state() { return { count: 0, userInfo: null, name:"hq" }; 阅读全文
posted @ 2025-04-11 08:23 小小强学习网 阅读(13) 评论(0) 推荐(0)
摘要: 新建store.js import Vue from 'vue' import Vuex from 'vuex' Vue.use(Vuex) const store = new Vuex.Store({ state: { count: 0, clist:[1,2,3,4,6,6,7,8,9,0], 阅读全文
posted @ 2025-04-11 08:06 小小强学习网 阅读(11) 评论(0) 推荐(0)
摘要: 参考地址:https://www.cnblogs.com/mahmud/p/17784975.html <div ref="statsSection" class="stats-section"> <div class="numdiv"> <div class="numdivc xq-flex-cb 阅读全文
posted @ 2024-10-27 15:36 小小强学习网 阅读(182) 评论(0) 推荐(0)
摘要: git:https://gitee.com/brownshrike/captcha-mini npm install captcha-mini <el-form-item prop="vercode"> <el-input v-model="formData.code" autocomplete=" 阅读全文
posted @ 2024-10-27 11:08 小小强学习网 阅读(216) 评论(0) 推荐(0)
摘要: devServer: { open: true, host: '0.0.0.0', port: 8000, proxy: { '/api': { target: '网址', changeOrigin: true, pathRewrite: { '^/api': '' }, headers: { ho 阅读全文
posted @ 2024-09-28 17:07 小小强学习网 阅读(71) 评论(0) 推荐(0)
摘要: import React from 'react'; function PhoneCall({ phoneNumber }) { const handleCall = () => { window.location.href = `tel:${phoneNumber}`; }; return ( < 阅读全文
posted @ 2024-09-05 22:44 小小强学习网 阅读(13) 评论(0) 推荐(0)
摘要: <h4>1. 父元素圆角</h4> <div class="father"> <div class="border-gradient">圆角渐变边框</div> </div> <h4>2. clip-path剪裁</h4> <div class="border-gradient clip-path" 阅读全文
posted @ 2024-08-05 19:29 小小强学习网 阅读(78) 评论(0) 推荐(0)
摘要: writing-mode 属性定义了文本在水平或垂直方向上如何排布。语法格式如下: writing-mode: horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lrhorizontal-tb:水平方向自上而下的书写 阅读全文
posted @ 2024-08-05 19:27 小小强学习网 阅读(119) 评论(0) 推荐(0)
摘要: <template> <div class="box"> {{mData.name}} </div> </template> <script setup> import { ref} from 'vue' // 导入 import userMix from "@/common/mixins/user 阅读全文
posted @ 2024-07-20 10:41 小小强学习网 阅读(406) 评论(0) 推荐(0)
摘要: 方法一:最普遍的做法 使用ES5语法来实现虽然会麻烦些,但兼容性最好,不用考虑浏览器JavaScript版本。也不用引入其他第三方库。 1,直接使用 filter、concat 来计算 var a = [1,2,3,4,5] var b = [2,4,6,8,10] //交集 var c = a.f 阅读全文
posted @ 2024-06-26 16:11 小小强学习网 阅读(48) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示