Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.8k views
in Technique[技术] by (71.8m points)

vue display:none,@click @change失效有啥办法解决吗

外层的dom设置了display:none,里面的的插值{{XXX}}都没问题,但是@click @change 都是失效了,请问这是什么问题,感谢,有其他思路解决吗

<div class="tt" style="display:none;">
    <form class="layui-form layer-dl" action="" style="padding: 25px 25px 25px 0">
        <div class="layui-form-item">
            <label class="layui-form-label">涉及订单:</label>
            <p class="title">{{order}}</p> 
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">联系电话:</label>
            <p class="title">{{phone}}</p>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">截图上传</label>
            <div class="layui-input-block">
                <input ref="myFile" @change="getFile($event)" type="file">
            </div>
        </div>
    </form>
    <a class="sub-tt" @click="submitAfterForm()">下一步</a>
</div>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
dislpay:none

拼写错了


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...