Commit 5367958f by 杨明

fixed

1 parent c3f5de2e
This diff could not be displayed because it is too large.
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
"vuex": "^3.1.2", "vuex": "^3.1.2",
"word-edit": "^1.0.0" "word-edit": "^1.0.3"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "^4.1.0", "@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> <template>
<div id="app"> <div id="app">
<router-view /> <router-view />
...@@ -18,6 +26,16 @@ export default { ...@@ -18,6 +26,16 @@ export default {
} }
}, },
created() { 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.myMsg = this.msg
this.myMessage = this.message this.myMessage = this.message
} }
......
import { http } from '@/main' import { http, request_merchant } from '@/main'
const path = 'entmicro.api.mass.' const path = 'entmicro.api.mass.'
const URL = 'rop-scrm-entmicro/router' const URL = 'rop-scrm-entmicro/router'
//权益卡 //权益卡
...@@ -142,10 +142,10 @@ const createdNameList = params => { ...@@ -142,10 +142,10 @@ const createdNameList = params => {
sign: true sign: true
}) })
} }
const getMerchantList = params => { const findMerchantListByPage = params => {
params.method = `scrm.api.carlife.merchant.listWithPageByCurMerchant` params.method = 'merchants.api.open.findMerchantListByPage'
return http({ return request_merchant({
url: 'rop-scrm-carlife/router', url: '/rop-merchants/router',
method: 'POST', method: 'POST',
data: params, data: params,
sign: true sign: true
...@@ -176,6 +176,6 @@ export default { ...@@ -176,6 +176,6 @@ export default {
templateUpdate, templateUpdate,
templateSave, templateSave,
bulgeActivity, bulgeActivity,
getMerchantList, channelPreview,
channelPreview findMerchantListByPage
} }
...@@ -250,7 +250,7 @@ export default { ...@@ -250,7 +250,7 @@ export default {
name: '插入推荐频道', name: '插入推荐频道',
type: 'channelLink', type: 'channelLink',
funName: 'channelLink', funName: 'channelLink',
getMerchantList: this.$apis.welcomeword.getMerchantList, getMerchantList: this.$apis.welcomeword.findMerchantListByPage,
channelPreview: this.$apis.welcomeword.channelPreview 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!