zoukankan      html  css  js  c++  java
  • Elemet-技巧

          <el-table-column prop="describe" ref="descs" :show-overflow-tooltip="true" label="描述" width="200">
          </el-table-column>

    效果:

    append-to-body 解决el-dialog 弹窗遮罩为题
            <el-dialog title="EditProClass" :visible.sync="visible" @close="$emit('update:show', false)" :show="show" append-to-body>
                <el-form :model="form" ref="Userform" :rules="rules" label-position="top" label-width="80px">
    
                    <el-form-item label="名称" :label-width="formLabelWidth" prop="className">
                        <el-input v-model="form.className"></el-input>
                    </el-form-item>
    
                    <el-form-item label="描述" :label-width="formLabelWidth" prop="describe">
                        <el-input v-model="form.describe" autocomplete="off"></el-input>
                    </el-form-item>
    
                    <el-form-item label="权重" :label-width="formLabelWidth" prop="weight">
                        <el-input v-model="form.weight" autocomplete="off"></el-input>
                    </el-form-item>
    
                    <el-form-item label="是否上架" :label-width="formLabelWidth">
                        <template slot-scope="scope">
                            <el-checkbox v-model="form.isCheck"></el-checkbox>
                        </template>
                    </el-form-item>
                </el-form>
    
                <div slot="footer" class="dialog-footer">
                    <el-button @click="cellsumbit">取 消</el-button>
                    <el-button type="primary" @click="sumbit">确 定</el-button>
                </div>
            </el-dialog>

     
  • 相关阅读:
    设计一个移动应用的本地缓存机制
    LeetCode 15
    POJ 2411
    Mahout构建图书推荐系统【一起学Mahout】
    firefox篇
    zTree实现删除树节点
    Tomcat与Servlet工作流程
    cocos2d 重写顶点着色语言
    将HTML格式的String转化为HTMLElement
    JQuery总结
  • 原文地址:https://www.cnblogs.com/huanhuan55/p/9867156.html
Copyright © 2011-2022 走看看