Commit 5367958f by 杨明

fixed

1 parent c3f5de2e
This diff could not be displayed because it is too large.
......@@ -18,7 +18,7 @@
"vue": "^2.6.10",
"vue-router": "^3.1.3",
"vuex": "^3.1.2",
"word-edit": "^1.0.0"
"word-edit": "^1.0.3"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^4.1.0",
......
<!--
* @Author: yangming yangming@didihu.com.cn
* @Date: 2023-01-09 09:34:32
* @LastEditors: yangming yangming@didihu.com.cn
* @LastEditTime: 2023-01-12 10:36:35
* @FilePath: \scrm-micro-services\src\App.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
<div id="app">
<router-view />
......@@ -18,6 +26,16 @@ export default {
}
},
created() {
//输入框换行符阻止默认事件
document.onkeydown = function() {
var evt = window.event || arguments[0]
if (evt && evt.keyCode == 13) {
if (typeof evt.cancelBubble != 'undefined') evt.cancelBubble = true
if (typeof evt.stopPropagation == 'function') evt.stopPropagation()
return false
}
return true
}
this.myMsg = this.msg
this.myMessage = this.message
}
......
import { http } from '@/main'
import { http, request_merchant } from '@/main'
const path = 'entmicro.api.mass.'
const URL = 'rop-scrm-entmicro/router'
//权益卡
......@@ -142,10 +142,10 @@ const createdNameList = params => {
sign: true
})
}
const getMerchantList = params => {
params.method = `scrm.api.carlife.merchant.listWithPageByCurMerchant`
return http({
url: 'rop-scrm-carlife/router',
const findMerchantListByPage = params => {
params.method = 'merchants.api.open.findMerchantListByPage'
return request_merchant({
url: '/rop-merchants/router',
method: 'POST',
data: params,
sign: true
......@@ -176,6 +176,6 @@ export default {
templateUpdate,
templateSave,
bulgeActivity,
getMerchantList,
channelPreview
channelPreview,
findMerchantListByPage
}
......@@ -250,7 +250,7 @@ export default {
name: '插入推荐频道',
type: 'channelLink',
funName: 'channelLink',
getMerchantList: this.$apis.welcomeword.getMerchantList,
getMerchantList: this.$apis.welcomeword.findMerchantListByPage,
channelPreview: this.$apis.welcomeword.channelPreview
})
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!