Commit 0dcc18c3 by huangqy

post改成get

parent 042ae101
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</template> </template>
<script> <script>
import { postAction } from '@/api/manage' import { getAction } from '@/api/manage'
export default { export default {
data() { data() {
return { return {
...@@ -35,7 +35,7 @@ export default { ...@@ -35,7 +35,7 @@ export default {
}, },
methods: { methods: {
getWorkPage() { getWorkPage() {
postAction(window._CONFIG['domianURL'] + this.url, {storeCode: this.$route.query.storeCode}).then(res => { getAction(window._CONFIG['domianURL'] + this.url, {storeCode: this.$route.query.storeCode}).then(res => {
let arr = [] let arr = []
res.data.records.forEach(element => { res.data.records.forEach(element => {
var itemArr = [] var itemArr = []
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论