随笔分类 -  vue

摘要:<div style="padding: 20px;"> <div class="case_img" @mousedown="show_coords"> <img alt="" style="width: 100%;" :src="formState.highlightimg.indexOf('ht 阅读全文
posted @ 2025-03-04 11:23 前端搬运工bug 阅读(4) 评论(0) 推荐(0) 编辑
摘要:"scripts": { "dev": "vite", "build": "tsc --noEmit && vite build --mode production", "stg": "tsc --noEmit && vite build --mode stg", "tests": "tsc --n 阅读全文
posted @ 2024-07-16 18:07 前端搬运工bug 阅读(3) 评论(0) 推荐(0) 编辑
摘要:先删除 package-lock.json和node_modules 再安装 兼容低版本安装方式 npm install --legacy-peer-deps 启动命令 npm run serve window 环境打包命令 npm run build:win 注意: 如果是要跑liunx 环境就需 阅读全文
posted @ 2024-07-13 17:13 前端搬运工bug 阅读(10) 评论(0) 推荐(0) 编辑
摘要:<template> <div class="max_box"> <a-tabs v-model:activeKey="activeKey" @change="callback"> <a-tab-pane :tab="item.tab" v-for="item in state.list" :key 阅读全文
posted @ 2024-05-28 15:40 前端搬运工bug 阅读(21) 评论(0) 推荐(0) 编辑
摘要:<template> <div class="app_box"> <div class="app_box_title" ref="refTile"> <el-form :inline="true" :model="formInline" class="demo-form-inline" label- 阅读全文
posted @ 2024-05-10 11:42 前端搬运工bug 阅读(175) 评论(0) 推荐(0) 编辑
摘要:<template> <el-select ref="myselectref" v-model="currentValue" v-bind="$attrs"> <slot name="option"> <el-option v-for="item in $attrs.options" :key="i 阅读全文
posted @ 2024-05-06 11:59 前端搬运工bug 阅读(89) 评论(0) 推荐(0) 编辑
摘要:`` 使用插件 "postcss-pxtorem": "^6.1.0", postcss.config.cjs 文件配置 module.exports = { plugins: { autoprefixer: { overrideBrowserslist: [ "Android 4.1", "iOS 阅读全文
posted @ 2024-05-06 11:34 前端搬运工bug 阅读(798) 评论(0) 推荐(0) 编辑
摘要:// 勾选规则 // 1.勾选当前不勾联动选子级 // 2.勾选当前需要联动勾选父级 // 3.勾选当前取消需要联动取消子级和联动取消父级,如果存在平级则不取消父级 <template> <a-spin :spinning="state.spining"> <div> <a-modal ref="m 阅读全文
posted @ 2024-05-06 11:09 前端搬运工bug 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2023-11-13 16:31 前端搬运工bug 阅读(4) 评论(0) 推荐(0) 编辑
摘要:效果图 <template> <!-- --> <div class='stepBar' v-if="list"> <dl> <dd v-for="(item, index) in list" :key="index" :class="{ actafter: index + 1 <= selecte 阅读全文
posted @ 2023-08-11 22:46 前端搬运工bug 阅读(38) 评论(0) 推荐(0) 编辑
摘要:1.在桌面运行cmd,使用官方命令创建vite npm init vite@latest 2.回车 2.回车 直接cd vite-v2 进入vite-v2文件夹后输入 npm install 安装依赖 默认文件夹是这样的 在cmd继续安装vue2依赖命令 npm install vue@2.x vu 阅读全文
posted @ 2022-09-01 21:21 前端搬运工bug 阅读(374) 评论(0) 推荐(0) 编辑
摘要:<!-- 订单列表 --> <template> <div class="pariculasr"> <fh :Text="{...propsText}"></fh> <van-row type="flex"> <van-col span="24"> <van-search v-model="valu 阅读全文
posted @ 2022-06-20 16:56 前端搬运工bug 阅读(588) 评论(0) 推荐(0) 编辑
摘要:1.vue -v 检查自己的 vue-cli 版本号是否新版 2. 最好卸载旧版vue-cli npm uninstall vue-cli -g 3.重新安装新版vue-cli npm install -g @vue/cli 4. 创建vue项目命令 vue create demo //文件名 不支 阅读全文
posted @ 2022-06-20 16:25 前端搬运工bug 阅读(266) 评论(0) 推荐(0) 编辑
摘要:报错前代码 代码修改为 阅读全文
posted @ 2022-06-20 16:24 前端搬运工bug 阅读(64) 评论(0) 推荐(0) 编辑
摘要:报错的问题 直接上代码 自定义图标名称 阅读全文
posted @ 2022-01-26 10:28 前端搬运工bug 阅读(383) 评论(0) 推荐(0) 编辑
摘要:使用命令强制 安装替换版本最新版本 npm install -g @vue/cli --force 阅读全文
posted @ 2021-11-05 09:52 前端搬运工bug 阅读(49) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示