Commit 2aa906d3 by cwq0219

模式

1 parent 2723f680
......@@ -14,8 +14,8 @@ import { VueRouter } from '@/router'
const render = (base, routes) => {
const router = new VueRouter({
base,
routes
// mode: 'history'
routes,
mode: 'history'
})
const vm = new Vue({
router,
......
......@@ -36,5 +36,5 @@ export async function start() {
utils: utils
}
Vue.use(GLButton, { permissions: ['1-1-1-1', '2-1-1-1', '3-1-1-1'] })
render('/', routes)
render('/child/services/', routes)
}
......@@ -759,7 +759,7 @@ export default {
this.$apis.beforeSale.updateEquityApi(params).then(res => {
if (res.code == '0') {
this.$message({
message: res.data.code ? '操作成功' : '操作失败',
message: res.data.code ? '操作成功' : res.data.msg,
type: res.data.code ? 'success' : 'error'
})
if (res.data.code) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!