t-self-points
v1.0.2
Published
### 在需要使用的地方 import seltPoints from 't-self-points/t-self-points.vue'引入
Downloads
2
Readme
使用 npm i t-selt-points或者 cnpm i t-selt-points安装插件
在需要使用的地方 import seltPoints from 't-self-points/t-self-points.vue'引入
<selt-points @scanCode='scanCode' :shwoBtn='shwoBtn' :records = 'records'>
cconst shwoBtn = ref(true) 是否显示进度查询按钮
interface List {
amount: Number
bonus: Number
image: String
remark: String
status: Number
time: String
}
const records = ref < List[] > ([]);
records.value = [{
amount: 0,
bonus: 0,
image: "1",//图片
remark: '', //原因
status: 0, // 0审核中 1审核成功 2 审核失败
time: "2022/11/28 14:57:18",//上传时间
}]
const scanCode = (e:any) => {
console.log('扫码结果',e)
//扫描完成后调用接口
}