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
使用rate 组件时,渲染出来是 <rate value="4" attrs="[object Object]" form_data="[object Object]"></rate> 在 vendor\smallruraldog\laravel-vue-admin\resources\js\components\widgets\Grid 目录下添加了 Rate.vue 也执行了 更新静态资源命令,清理视图缓存 ,结果一样,Rate.vue 代码如下
<rate value="4" attrs="[object Object]" form_data="[object Object]"></rate>
<template> <el-rate :value="value" :style="attrs.style" :class="attrs.className" :max="attrs.max" :disabled="attrs.disabled" :allow-half="attrs.allowHalf" :low-threshold="attrs.lowThreshold" :high-threshold="attrs.highThreshold" :colors="attrs.colors" :void-color="attrs.voidColor" :disabled-void-color="attrs.disabledVoidColor" :icon-classes="attrs.iconClasses" :void-icon-class="attrs.voidIconClass" :disabled-void-icon-class="attrs.disabledVoidIconClass" :show-text="attrs.showText" :show-score="attrs.showScore" :text-color="attrs.textColor" :texts="attrs.texts" @change="onChange"> </el-rate> </template> <script> export default { props: { attrs: Object, value: { default: true } }, data() { return {options: this.attrs.options}; }, model: { prop: "value", event: "change" }, methods: { onChange(value) { this.$emit("change", value); } } }; </script>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
使用rate 组件时,渲染出来是
<rate value="4" attrs="[object Object]" form_data="[object Object]"></rate>
在 vendor\smallruraldog\laravel-vue-admin\resources\js\components\widgets\Grid 目录下添加了 Rate.vue
也执行了 更新静态资源命令,清理视图缓存 ,结果一样,Rate.vue 代码如下
The text was updated successfully, but these errors were encountered: