-
-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
element UI 兼容问题 #45
Comments
尝试这样: <!-- 查看脚本dialog -->
<el-dialog :visible.sync="view_sql_ctrl" :modal="false" size="large">
<div class="codemirror">
<codemirror v-if="view_sql_ctrl" :options="createScriptOptions" v-model="sql_detail"></codemirror>
</div>
</el-dialog> |
@surmon-china thx 已解决 |
Closed
怎么解决的啊 |
同问 |
加个 v-if 判断下就可以了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在elementui中使用dialog显示code mirror,
总要点击面板code mirror才能显示最新的文本
于是想到了auto fucus,但是时而生效 时而不生效
不知道这是不是兼容性问题
<!-- 查看脚本dialog --> <el-dialog :visible.sync="view_sql_ctrl" :modal="false" size="large"> <div class="codemirror"> <codemirror :options="createScriptOptions" v-model="sql_detail"></codemirror> </div> </el-dialog>
The text was updated successfully, but these errors were encountered: