页面修改
This commit is contained in:
49
package-lock.json
generated
49
package-lock.json
generated
@@ -1,32 +1,49 @@
|
||||
{
|
||||
"name": "Aidex",
|
||||
"version": "2.3.0",
|
||||
"lockfileVersion": 1,
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"@icon-park/vue": {
|
||||
"version": "1.3.5",
|
||||
"resolved": "https://registry.nlark.com/@icon-park/vue/download/@icon-park/vue-1.3.5.tgz",
|
||||
"integrity": "sha1-twRuLCtdpexNZz/7Wta8gL6loTs=",
|
||||
"requires": {
|
||||
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
||||
"csstype": "^3.0.3"
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "Aidex",
|
||||
"version": "2.3.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@icon-park/vue": "^1.3.5",
|
||||
"vue-i18n": "^8.20.0"
|
||||
}
|
||||
},
|
||||
"@vue/babel-helper-vue-jsx-merge-props": {
|
||||
"node_modules/@icon-park/vue": {
|
||||
"version": "1.3.5",
|
||||
"resolved": "https://registry.npmmirror.com/@icon-park/vue/download/@icon-park/vue-1.3.5.tgz",
|
||||
"integrity": "sha1-twRuLCtdpexNZz/7Wta8gL6loTs=",
|
||||
"dependencies": {
|
||||
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
|
||||
"csstype": "^3.0.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 8.0.0",
|
||||
"npm": ">= 5.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"vue": "2.x"
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/babel-helper-vue-jsx-merge-props": {
|
||||
"version": "1.2.1",
|
||||
"resolved": "https://registry.npm.taobao.org/@vue/babel-helper-vue-jsx-merge-props/download/@vue/babel-helper-vue-jsx-merge-props-1.2.1.tgz",
|
||||
"resolved": "https://registry.npmmirror.com/@vue/babel-helper-vue-jsx-merge-props/download/@vue/babel-helper-vue-jsx-merge-props-1.2.1.tgz",
|
||||
"integrity": "sha1-MWJKelBfsU2h1YAjclpMXycOaoE="
|
||||
},
|
||||
"csstype": {
|
||||
"node_modules/csstype": {
|
||||
"version": "3.0.9",
|
||||
"resolved": "https://registry.nlark.com/csstype/download/csstype-3.0.9.tgz?cache=0&sync_timestamp=1631540658518&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcsstype%2Fdownload%2Fcsstype-3.0.9.tgz",
|
||||
"resolved": "https://registry.npmmirror.com/csstype/download/csstype-3.0.9.tgz",
|
||||
"integrity": "sha1-ZBCvMbJr0FIJM9AsvGT86c4/vws="
|
||||
},
|
||||
"vue-i18n": {
|
||||
"node_modules/vue-i18n": {
|
||||
"version": "8.20.0",
|
||||
"resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.20.0.tgz",
|
||||
"integrity": "sha512-ZiAOoeR4d/JtKpbjipx3I80ey7cYG1ki5gQ7HwzWm4YFio9brA15BEYHjalEoBaEfzF5OBEZP+Y2MvAaWnyXXg=="
|
||||
"resolved": "https://registry.npmmirror.com/vue-i18n/download/vue-i18n-8.20.0.tgz",
|
||||
"integrity": "sha512-ZiAOoeR4d/JtKpbjipx3I80ey7cYG1ki5gQ7HwzWm4YFio9brA15BEYHjalEoBaEfzF5OBEZP+Y2MvAaWnyXXg==",
|
||||
"deprecated": "Vue I18n v8.x has reached EOL and is no longer actively maintained. About maintenance status, see https://vue-i18n.intlify.dev/guide/maintenance.html"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -468,7 +468,10 @@ export default {
|
||||
// 上传成功回调
|
||||
success: (res) => {
|
||||
console.log('上传成功', res);
|
||||
|
||||
uni.showToast({
|
||||
title: "上传图片成功!",
|
||||
icon: "success"
|
||||
})
|
||||
// this.formData.facePictures = res.data.ossId;
|
||||
// 准备提交数据
|
||||
const submitData = {
|
||||
@@ -496,12 +499,10 @@ export default {
|
||||
})
|
||||
}else{
|
||||
uni.showToast({
|
||||
title: '上传失败',
|
||||
title: '提交失败',
|
||||
icon: 'none'
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// uni.showToast({
|
||||
// title: '上传成功',
|
||||
// icon: 'success'
|
||||
@@ -509,9 +510,9 @@ export default {
|
||||
},
|
||||
// 上传失败回调
|
||||
fail: (err) => {
|
||||
console.error('上传失败', err);
|
||||
console.error('提交失败', err);
|
||||
uni.showToast({
|
||||
title: '上传失败',
|
||||
title: '提交失败',
|
||||
icon: 'none'
|
||||
});
|
||||
},
|
||||
|
Reference in New Issue
Block a user