no message
This commit is contained in:
@@ -41,6 +41,7 @@ import { getStorageFun, TOKEN_NAME } from '@/utils/auth.js';
|
||||
|
||||
export default {
|
||||
name: "common_card",
|
||||
props:['Fimg','Bimg'],
|
||||
data() {
|
||||
return {
|
||||
uploadTemplList: [
|
||||
@@ -70,12 +71,25 @@ export default {
|
||||
fileListF: {},// 身份反面照片
|
||||
};
|
||||
},
|
||||
watch:{
|
||||
Fimg(p,r){
|
||||
if(p){
|
||||
this.fileListZ = {accessUrl:p};
|
||||
}
|
||||
},
|
||||
Bimg(p,r){
|
||||
if(p){
|
||||
this.fileListF = {accessUrl:p};
|
||||
}
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
deletePic(event) {
|
||||
this.fileListZ.splice(event.index, 1);
|
||||
},
|
||||
phoneFun(type) {
|
||||
let that = this;
|
||||
console.log('aaaaaaa')
|
||||
/*#ifdef MP*/
|
||||
uni.chooseMedia({
|
||||
count: 1, // 默认为1,摄像头拍照为1,录像为10,录音为1
|
||||
@@ -93,7 +107,7 @@ export default {
|
||||
}
|
||||
});
|
||||
/*#endif*/
|
||||
/*#ifdef APP-PLUS*/
|
||||
/*#ifndef MP*/
|
||||
uni.chooseImage({
|
||||
count: 1, // 默认9,设置图片的数量
|
||||
sizeType: ['original', 'compressed'], // 可以指定是原图还是压缩图,默认二者都有
|
||||
|
||||
Reference in New Issue
Block a user