fix: bug#11062、11139
This commit is contained in:
parent
22d326337b
commit
0ce7fd5a59
|
@ -188,6 +188,7 @@
|
||||||
v-model:value="form.data.assetType"
|
v-model:value="form.data.assetType"
|
||||||
style="width: 500px"
|
style="width: 500px"
|
||||||
placeholder="请选择资产类型"
|
placeholder="请选择资产类型"
|
||||||
|
show-search
|
||||||
>
|
>
|
||||||
<j-select-option
|
<j-select-option
|
||||||
v-for="item in form.assetsType"
|
v-for="item in form.assetsType"
|
||||||
|
@ -235,7 +236,9 @@
|
||||||
|
|
||||||
<PermissionButton
|
<PermissionButton
|
||||||
type="primary"
|
type="primary"
|
||||||
:hasPermission="`${permission}:update`"
|
:hasPermission="`${permission}:${
|
||||||
|
route.params.id === ':id' ? 'add' : 'update'
|
||||||
|
}`"
|
||||||
@click="form.clickSave"
|
@click="form.clickSave"
|
||||||
>
|
>
|
||||||
保存
|
保存
|
||||||
|
@ -405,8 +408,6 @@ type assetType = {
|
||||||
label: string;
|
label: string;
|
||||||
value: string;
|
value: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
|
|
@ -88,7 +88,7 @@ const form = reactive({
|
||||||
console.log(form.menus);
|
console.log(form.menus);
|
||||||
Promise.all([updateRole, updateTree]).then((resp) => {
|
Promise.all([updateRole, updateTree]).then((resp) => {
|
||||||
message.success('操作成功');
|
message.success('操作成功');
|
||||||
jumpPage(`system/Role`);
|
// jumpPage(`system/Role`);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue