|
@@ -842,7 +842,7 @@ export const useHooks = (t?: any, props?: any) => {
|
|
|
basicinfo: {
|
|
|
el: "input",
|
|
|
editable: (scope: any) => {
|
|
|
- if (ALLOW_EDIT_STATE.includes(scope.status) && !Boolean(props.mattressWidth)) {
|
|
|
+ if (ALLOW_EDIT_STATE.includes(scope.status)) {
|
|
|
return true;
|
|
|
}
|
|
|
return false;
|
|
@@ -856,7 +856,7 @@ export const useHooks = (t?: any, props?: any) => {
|
|
|
basicinfo: {
|
|
|
el: "input",
|
|
|
editable: (scope: any) => {
|
|
|
- if (ALLOW_EDIT_STATE.includes(scope.status) && !Boolean(props.mattressLength)) {
|
|
|
+ if (ALLOW_EDIT_STATE.includes(scope.status)) {
|
|
|
return true;
|
|
|
}
|
|
|
return false;
|