Browse Source

fix: security page disappear delay problem when force refresh under GENERAL_USER

pull/3/MERGE
chengshiwen 4 years ago
parent
commit
133b9d8431
  1. 2
      dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue
  2. 1
      dolphinscheduler-ui/src/js/module/permissions/index.js

2
dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/udf/pages/function/_source/list.vue

@ -14,7 +14,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
v-ps<template>
<template>
<div class="list-model">
<div class="table-box">
<table class="fixed">

1
dolphinscheduler-ui/src/js/module/permissions/index.js

@ -44,6 +44,7 @@ Permissions.prototype = {
if ($(el).prop('tagName') === 'BUTTON') {
$(el).attr('disabled', true)
} else {
$(el).css('display', 'none')
setTimeout(function () { el.parentNode.removeChild(el) }, 100)
}
}

Loading…
Cancel
Save