修正部分前端语法校验空格问题

This commit is contained in:
chenbo 2020-12-29 12:44:06 +08:00
parent db07389543
commit 59dd9ab42a
5 changed files with 6 additions and 7 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/dts-dao/dts-dao.iml
/dts-wx-api/dts-wx-api.iml
/logs/
/admin-ui/node_modules/

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -50,5 +50,3 @@ export function listShipChannel() {
method: 'get'
})
}

View File

@ -46,7 +46,7 @@
</el-form-item>
</el-form>
</el-dialog>
<!-- 添加或修改对话框 -->
<el-dialog :title="textMap[dialogStatus]" :visible.sync="dialogFormVisible">
<el-form ref="dataForm" :rules="rules" :model="dataForm" status-icon label-position="left" label-width="100px" style="width: 400px; margin-left:50px;">
@ -61,7 +61,7 @@
<el-option v-for="item in adminList" :key="item.value" :label="item.label" :value="item.value"/>
</el-select>
</el-form-item>
<el-form-item label="介绍" prop="simpleDesc">
<el-input v-model="dataForm.desc"/>
</el-form-item>
@ -158,7 +158,7 @@ export default {
textMap: {
update: '编辑',
create: '创建',
shareUrl: '店铺推广码'
shareUrl: '店铺推广码'
},
rules: {
name: [

View File

@ -146,7 +146,7 @@
</style>
<script>
import { listOrder, shipOrder, refundOrder, detailOrder , listShipChannel } from '@/api/order'
import { listOrder, shipOrder, refundOrder, detailOrder, listShipChannel } from '@/api/order'
import Pagination from '@/components/Pagination' // Secondary package based on el-pagination
import checkPermission from '@/utils/permission' //
@ -224,7 +224,7 @@ export default {
})
},
getListShipChannel() {
listShipChannel().then(response => {
listShipChannel().then(response => {
this.shipChannelList = response.data.data.shipChannelList
})
},