feat: 首次提交
This commit is contained in:
31
components/firstui/fui-circle/render.js
Normal file
31
components/firstui/fui-circle/render.js
Normal file
@ -0,0 +1,31 @@
|
||||
// 本文件由FirstUI授权予新疆天衡创新研究院有限公司(手机号: 18614 0725 49,身份证尾号:5A07X5)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
|
||||
// #ifdef APP-VUE || H5
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
percentage: -1
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
percent(val) {
|
||||
this.percentage = Number(val) || 0
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.percentage = Number(this.percent) || 0
|
||||
},
|
||||
methods: {
|
||||
change(e) {
|
||||
this.$emit('change', e);
|
||||
},
|
||||
end(e) {
|
||||
this.$emit('end', e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// #endif
|
||||
|
||||
// #ifndef APP-VUE || H5
|
||||
export default {}
|
||||
// #endif
|
Reference in New Issue
Block a user