Commit 76861322 by 无尘

fix: 修改 url

parent 7877b9a1
This source diff could not be displayed because it is too large. You can view the blob instead.
{ {
"name": "@gic-test/vue-office-area", "name": "@gic-test/vue-office-area",
"description": "vue-office-area Plugin", "description": "vue-office-area Plugin",
"version": "1.0.2", "version": "1.0.5",
"license": "MIT", "license": "MIT",
"private": false, "private": false,
"main": "dist/vue-office-area.js", "main": "dist/vue-office-area.js",
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
// import { getRequest } from './api'; // import { getRequest } from './api';
import qs from 'qs'; import qs from 'qs';
export default { export default {
name: 'vue-area-ab', name: 'vue-office-area',
props: { props: {
areaOptions: { areaOptions: {
type: Object type: Object
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
that.optionsCity = []; that.optionsCity = [];
that.optionsRegion = []; that.optionsRegion = [];
that.axios.post(that.baseUrl+requstUrl,qs.stringify(para)).then((res) => { that.axios.post(that.baseUrl+that.requstUrl,qs.stringify(para)).then((res) => {
console.log(res,res.data,res.data.errorCode) console.log(res,res.data,res.data.errorCode)
var resList = ''; var resList = '';
resList = res.data; resList = res.data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment