We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在Vue 2.0 结合ts使用的时候发现上述标题错误
The text was updated successfully, but these errors were encountered:
麻烦提供下版本号和代码等信息
Sorry, something went wrong.
这个用的时候想全局使用,Vue的项目用了ts当插件的话由于这个包没有类型约束。所以只能是单独引进
<template lang="html"> <div class="jsoneditor-container" :class="{'max-box':max,'min-box':!max}" :style="getHeight"> <div ref="jsoneditor" class="jsoneditor-box"></div> <button type="button" @click="max = !max" class="max-btn" size="mini" v-if="options.mode == 'code' && plus"></button> </div> </template> .... computed: { getHeight() { if (this.height && !this.max) { return { height: this.height } } return {} } }
No branches or pull requests
在Vue 2.0 结合ts使用的时候发现上述标题错误
The text was updated successfully, but these errors were encountered: