flat: 修改提示
This commit is contained in:
@@ -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"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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': {
|
||||||
|
|||||||
Reference in New Issue
Block a user