You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
613 B
31 lines
613 B
// 本文件由FirstUI授权予内蒙古晟誉网络科技有限责任公司(手机号:1 51 4 82 2810 8,身份证尾号:1R6T39)专用,请尊重知识产权,勿私下传播,违者追究法律责任。
|
|
// #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
|