flat: 修改提示

This commit is contained in:
Apcallover
2024-04-23 21:08:23 +08:00
parent b15fbe0f85
commit 57ecc9fad1
3 changed files with 409 additions and 403 deletions

View File

@@ -93,13 +93,19 @@ export default {
}, },
comfirm: function() { comfirm: function() {
if (this.id) { if (this.id) {
uni.$emit('setworkTypes', { detail: { id: this.id, label: this.label, parentLabel: this.$route.query.parentLabel } }) uni.$emit('setworkTypes', {
detail: {
id: this.id,
label: this.label,
parentLabel: this.$route.query.parentLabel
}
})
uni.navigateBack({ uni.navigateBack({
delta: this.layer delta: this.layer
}) })
} else { } else {
uni.showToast({ uni.showToast({
title: "请选择地点", title: "请选择类别",
icon: "none" icon: "none"
}) })
} }

View File

@@ -121,7 +121,8 @@ export default {
}, },
comfirm: function() { comfirm: function() {
if (this.id) { if (this.id) {
uni.$emit('setSkill', { detail: { uni.$emit('setSkill', {
detail: {
id: this.id, id: this.id,
label: this.label, label: this.label,
parentLabel: this.$route.query.parentLabel, parentLabel: this.$route.query.parentLabel,
@@ -133,7 +134,7 @@ export default {
}) })
} else { } else {
uni.showToast({ uni.showToast({
title: "请选择地点", title: "请选择类别",
icon: "none" icon: "none"
}) })
} }

View File

@@ -3,11 +3,10 @@ module.exports = {
port: 1887, port: 1887,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://192.168.1.101:8200', target: 'http://10.165.0.173:8000',
ws: true, ws: true,
changeOrigin: true,
pathRewrite: { pathRewrite: {
"^/api/jobslink-api": "/" '^/api': '/'
} }
}, },
'/qq/map': { '/qq/map': {