Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.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 Answer

0 votes
by (71.8m points)
dislpay:none

拼写错了


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

31 comments

50.1k users

...