diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js index ebd94b9d..ae033d19 100644 --- a/ruoyi-ui/src/main.js +++ b/ruoyi-ui/src/main.js @@ -37,6 +37,7 @@ import DictTag from '@/components/DictTag' import VueMeta from 'vue-meta' // 字典数据组件 import DictData from '@/components/DictData' +import * as ElementUI from "element-ui"; // 全局方法挂载 Vue.prototype.getDicts = getDicts @@ -84,3 +85,6 @@ new Vue({ store, render: h => h(App) }) + +// 全局取消点击dialog以外部分关闭弹窗 +ElementUI.Dialog.props.closeOnClickModal.default = false diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 36c79424..5233eca9 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -76,6 +76,11 @@ export const constantRoutes = [ component: () => import('@/views/system/userFront/details'), hidden: true }, + { + path: '/cusDetPay/:id', + component: () => import('@/views/system/userFront/payBefore'), + hidden: true + }, { path: '', component: Layout, diff --git a/ruoyi-ui/src/views/system/goods/index.vue b/ruoyi-ui/src/views/system/goods/index.vue index d47057a6..2f728918 100644 --- a/ruoyi-ui/src/views/system/goods/index.vue +++ b/ruoyi-ui/src/views/system/goods/index.vue @@ -88,8 +88,20 @@ - - + + + + + +