Commit 1be2d5a1 by 王志慧

fixed

1 parent 5a973fa1
......@@ -18,7 +18,6 @@
<script>
import glsxCombiForm from '@/components/glsx-combi-form'
// import { checkPhone as validPhone } from '@/utils/index'
export default {
name: 'AddressCom',
components: { glsxCombiForm },
......@@ -32,7 +31,7 @@ export default {
},
data() {
let checkPhone = (rule, value, callback) => {
if (this.validPhone(value)) {
if (!this.validPhone(value)) {
callback(new Error('请输入正确的手机号码'))
return false
}
......
......@@ -266,7 +266,7 @@ export default {
areaId,
areaName
}
if (provinceName === null) {
if (provinceName == null) {
this.$message.error('请先完善发货地址')
return
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!