Browse Source

解决冲突

master
song 3 years ago
parent
commit
e8542d5d2a
  1. BIN
      dist.zip
  2. 3
      src/components/News/index.vue
  3. 8
      src/views/layout/Layout.vue
  4. 5
      vue.config.js

BIN
dist.zip

Binary file not shown.

3
src/components/News/index.vue

@ -160,6 +160,7 @@
* 获取详情列表 * 获取详情列表
*/ */
getList(options) { getList(options) {
console.log('options: ', options);
const { pageNum, pageSize, showPage } = this; const { pageNum, pageSize, showPage } = this;
const params = { const params = {
pageNum, pageNum,
@ -170,7 +171,7 @@
params.showType = 0 params.showType = 0
} }
if(showPage === '0204'){ if(showPage === '0204'){
params.showPage = '0203' params.showPage = options.showPage
params.showType = 1 params.showType = 1
} }
if(options){ if(options){

8
src/views/layout/Layout.vue

@ -26,7 +26,9 @@ export default {
mixins: [ResizeMixin], mixins: [ResizeMixin],
watch: { watch: {
'$route.path'() { '$route.path'() {
this.showBtn() setTimeout(() => {
this.showBtn()
},500)
} }
}, },
computed: { computed: {
@ -78,8 +80,12 @@ export default {
} }
for(var i = 0; i < perList.length; i++) { for(var i = 0; i < perList.length; i++) {
if(perList[i][1] === code) { if(perList[i][1] === code) {
console.log('perList[i]: ', perList[i]);
list[perList[i][2]] = true; list[perList[i][2]] = true;
} }
// if(perList[i][2] === 'reset') {
// console.log('perList[i]: ', perList[i]);
// }
} }
this.setShowBtnList(list) this.setShowBtnList(list)
}, },

5
vue.config.js

@ -4,10 +4,13 @@ var path = require("path");
const BASE_API = "https://test.tall.wiki/datang/v1.0" const BASE_API = "https://test.tall.wiki/datang/v1.0"
const proxyUrl = '/datang/v1.0' const proxyUrl = '/datang/v1.0'
// const BASE_API = "https://test.tall.wiki/datang/v1.0"
// const proxyUrl = 'datang/v1.0'
const port = 8080 const port = 8080
module.exports = { module.exports = {
publicPath: '/manage', publicPath: '/v1.0/manage',
devServer: { devServer: {
open: true, open: true,
overlay: { overlay: {

Loading…
Cancel
Save