摘要: <el-table-column label="所属区域" align="center" prop="areaList" :width="calculateWidth('areaList')"> <template slot-scope="scope"> <span v-if="scope.row. 阅读全文
posted @ 2025-11-05 09:19 埃菲尔上的加菲猫 阅读(16) 评论(0) 推荐(0)
摘要: // 示例数据 const arr1 = [ { id: 1, name: 'Alice', age: 25 }, { id: 2, name: 'Bob', age: 30 } ]; const arr2 = [ { id: 2, name: 'Bob', age: 30 }, // 重复 { i 阅读全文
posted @ 2025-10-24 11:07 埃菲尔上的加菲猫 阅读(8) 评论(0) 推荐(0)
摘要: 1.https://ext.dcloud.net.cn/plugin?id=13078 dcloud下载插件(不包含创建条目) / 文件里边有上传 2.使用 <zxz-uni-data-select v-model="CPData.dishUnit" :filterable="true" :loca 阅读全文
posted @ 2025-06-23 17:21 埃菲尔上的加菲猫 阅读(134) 评论(0) 推荐(0)
摘要: echarts 点击柱状图触发的事件 // myChart.on('click', function (params) { // let data = { // type:"age", // index:params.dataIndex // } // that.$emit('isShowCurre 阅读全文
posted @ 2025-06-19 11:12 埃菲尔上的加菲猫 阅读(115) 评论(0) 推荐(0)
摘要: 1.普通传参 uni.navigateTo({ url:'/nextPages/work/detailPages/inspectBZ?id=' + val.id }) 接收参数 onLoad(options){ this.initData(options.id) }, 2.对象格式 需要进行编码 u 阅读全文
posted @ 2025-06-11 09:48 埃菲尔上的加菲猫 阅读(26) 评论(0) 推荐(0)
摘要: 解决方式一: 在下拉模块添加@touchmove.stop @touch.stop 此方式为网上搜索结果,没有成功,可能是由于我的overflow是一个组件中的内容,onPullDownRefresh在父组件中触发,没有具体试过 方式二:在模块滑动时@scroll="pullDownClose" 触 阅读全文
posted @ 2025-06-06 10:33 埃菲尔上的加菲猫 阅读(388) 评论(0) 推荐(0)
摘要: 安装: npm install cronstrue --save 引入: import cronstrue from "cronstrue/i18n"; 使用: cronstrue.toString(this.cron,{ locale: "zh_CN"}) 注释:vue-cron 一周是从周日开始 阅读全文
posted @ 2025-05-30 15:54 埃菲尔上的加菲猫 阅读(66) 评论(0) 推荐(0)
摘要: 需要使用renderjs区分逻辑层和视图层 <template> //通过监听 实现逻辑层 向视图层传值 //:change:userData="agent.getUserData" userData:逻辑层的值传给视图层 agent:视图层的module getUserData:视图层监听逻辑层的 阅读全文
posted @ 2025-05-16 15:49 埃菲尔上的加菲猫 阅读(42) 评论(0) 推荐(0)
摘要: <el-cascader ref="refHandle" v-model="formData.filesUrl" clearable :options="filesOptions" :props="filesProps" placeholder="请选择文件地址" class="width-360" 阅读全文
posted @ 2025-04-28 11:33 埃菲尔上的加菲猫 阅读(165) 评论(0) 推荐(0)
摘要: video预览本地文件需要将文件地址转换 页面部分: <div class="imgVideo"> <span>采集图片/视频</span> <el-upload :multiple="false" :limit="limitNum" action="" :on-change="handleEdit 阅读全文
posted @ 2025-02-08 10:55 埃菲尔上的加菲猫 阅读(717) 评论(0) 推荐(0)