bibi 3 years ago
parent 4a45b396f2
commit 1f4f15d0a7

@ -0,0 +1,24 @@
module.exports = {
"env": {
"browser": true,
"es6": true
},
"extends": [
"plugin:vue/essential",
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"vue"
],
"rules": {
indent: ['error', 'tab'],
'no-console': 'off',
}
};

25723
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -22,7 +22,7 @@
"@vue/cli-plugin-eslint": "~4.5.0",
"@vue/cli-service": "~4.5.0",
"babel-eslint": "^10.1.0",
"eslint": "^6.7.2",
"eslint": "^6.8.0",
"eslint-plugin-vue": "^6.2.2",
"vue-template-compiler": "^2.6.11"
},

@ -1,7 +1,8 @@
export default {
install: function (Vue) {
Vue.prototype.$upload = process.env.VUE_APP_URL + 'user/upload/uploadTestMinioImg'
Vue.prototype.ImgUrl = (src) => {
return process.env.VUE_APP_CDN + src
return process.env.VUE_APP_STATIC + src
}
Vue.prototype.formatDate = (time, fmt) => {
if (time > 0) {

@ -69,7 +69,7 @@
</a-col>
身份证照片
<a-upload
:action="`${$baseUrl}/user/upload/uploadManageUserIdCard`"
:action="`${$upload}`"
:headers="uploadHeaders"
list-type="picture-card"
:file-list="fileList"

15919
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save