fix: id类型错误
This commit is contained in:
@@ -211,7 +211,7 @@ type ModalStateType = {
|
||||
/**新增框或修改框是否显示 */
|
||||
openByEdit: boolean;
|
||||
/**授权记录ID */
|
||||
licenseId: string;
|
||||
licenseId: number;
|
||||
/**确定按钮 loading */
|
||||
confirmLoading: boolean;
|
||||
};
|
||||
@@ -219,7 +219,7 @@ type ModalStateType = {
|
||||
/**对话框对象信息状态 */
|
||||
let modalState: ModalStateType = reactive({
|
||||
openByEdit: false,
|
||||
licenseId: '',
|
||||
licenseId: 0,
|
||||
confirmLoading: false,
|
||||
});
|
||||
|
||||
@@ -227,7 +227,7 @@ let modalState: ModalStateType = reactive({
|
||||
* 对话框弹出显示为 新增或者修改
|
||||
* @param licenseId id
|
||||
*/
|
||||
function fnModalVisibleByEdit(licenseId: string) {
|
||||
function fnModalVisibleByEdit(licenseId: number) {
|
||||
modalState.licenseId = licenseId;
|
||||
modalState.openByEdit = true;
|
||||
}
|
||||
@@ -247,7 +247,7 @@ function fnModalOk() {
|
||||
*/
|
||||
function fnModalCancel() {
|
||||
modalState.openByEdit = false;
|
||||
modalState.licenseId = '';
|
||||
modalState.licenseId = 0;
|
||||
}
|
||||
|
||||
/**刷新网元授权状态 */
|
||||
|
||||
Reference in New Issue
Block a user