摘要: this.$message({ type: 'success', message: '删除成功!' }) 阅读全文
posted @ 2024-08-30 13:39 prince11 阅读(1) 评论(0) 推荐(0) 编辑
摘要: vertical-align: middle 阅读全文
posted @ 2024-08-14 17:57 prince11 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 在不好用或者获取不到的时候就要使用 this.$nextTick(() => { this.enterpriseIds.forEach((row) => { this.$refs.multipleTable.toggleRowSelection(row, true) }) }) 如果你在el-dia 阅读全文
posted @ 2024-08-14 09:50 prince11 阅读(1) 评论(0) 推荐(0) 编辑
摘要: this.$message.success('上传成功!') this.$message.error('上传文件只能是pdf、doc、docx、xls、xlsx、zip、rar、png、jpg、peg格式') 阅读全文
posted @ 2024-08-08 15:17 prince11 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 1.把label单独拿出来 <el-form-item prop="examine6Remark"> <template slot="label"> 审查项目6描述 </template> <el-input type="textarea" :autosize="{ minRows: 3, maxR 阅读全文
posted @ 2024-08-08 11:35 prince11 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 表格出现竖向滚动条之后表格竖线对不齐 //首先在表头定义ref <el-table v-loading="loading" ref="ElTableHeaderRef" :data="industrialList" fit highlight-current-row style="width: 10 阅读全文
posted @ 2024-08-01 14:58 prince11 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 在提交的时候校验 1 this.$refs['ruleForm'].validate((valid) => { 2 if (valid) {}}) rules信息可以在行内写,也可以在data里面定义例如‘ rules: { qqq: [{ required: true, message: '请输入 阅读全文
posted @ 2024-07-30 10:34 prince11 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1. 定义 title属性是HTML标签中的一个属性,用于为元素添加文本提示。当用户将鼠标悬停在具有title属性的元素上时,浏览器会显示出该属性指定的文本。title属性通常用于提供元素的简短描述或者额外信息。 2. 用法 title属性可以用在HTML中大部分的标签上,例如div、span、a、 阅读全文
posted @ 2024-07-15 09:50 prince11 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-07-05 14:27 prince11 阅读(4) 评论(0) 推荐(0) 编辑
摘要: onPullDownRefresh(){ this.getDataList() uni.stopPullDownRefresh()//销毁一直加载的状态 }, async getDataList() {//请求接口的方法 this.page.page = 1; this.status = 'more 阅读全文
posted @ 2024-06-11 13:58 prince11 阅读(16) 评论(0) 推荐(0) 编辑