更换商城版本类型

version/v2
wangdong 6 months ago
parent 399683ff1d
commit 92013b0c51
  1. 1
      src/permission.js
  2. 4
      src/views/store/modules/CreateForm.vue

@ -31,7 +31,6 @@ router.beforeEach((to, from, next) => {
store
.dispatch('GetInfo')
.then(data => {
console.log()
const roles = data.roles
store.dispatch('GenerateRoutes', { roles }).then(() => {
// 根据roles权限生成可访问的路由表

@ -14,8 +14,8 @@
<a-radio-group
v-decorator="['store_version', { rules: [{ required: true, message: '请选择商城版本' }] }]"
>
<a-radio value="单商户">单商户</a-radio>
<a-radio value="多商户">多商户</a-radio>
<a-radio :value="0">单商户</a-radio>
<a-radio :value="1">多商户</a-radio>
</a-radio-group>
</a-form-item>
<a-form-item label="是否数据服务商" :labelCol="labelCol" :wrapperCol="wrapperCol">

Loading…
Cancel
Save